sched: dont renice kernel threads
PATCH 1/5 sched: dont renice kernel threads
The practice of renicing kernel threads to negative nice values is of questionable benefit at best, and at worst leads to larger latencies when kernel threads are busy on behalf of other tasks.
Signed-off-by Con Kolivas <[email protected]>
---
kernel/workqueue.c | 2 -- 1 file changed, 2 deletions(-)
kernel/workqueue.c +0 -2
@@ -355,8 +355,6 @@ static int worker_thread(void *__cwq)if (!cwq->freezeable) current->flags |=PF_NOFREEZE ; -set_user_nice (current,-5 ); -/* Block and flush all signals */ sigfillset (&blocked);sigprocmask (SIG_BLOCK , &blocked,NULL );
Signature · 1 line
-ck