diff options
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c index 29c26d44..86b76103 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -2326,7 +2326,8 @@ void consider_thread_collect(void) if (thread_collect_allowed && (sched_tick > - (thread_collect_last_tick + thread_collect_max_rate))) { + (thread_collect_last_tick + + thread_collect_max_rate / (hz / 1)))) { thread_collect_last_tick = sched_tick; thread_collect_scan(); } |