alter kthread prio
PATCH 1/1 alter kthread prio
alter kthread prio
Timeslice proportion has been increased substantially for -niced tasks. As a result of this kernel threads have much larger timeslices than they previously had.
Change kernel threads' nice value to -5 to bring their timeslice back in line with previous behaviour. This means kernel threads will be less likely to cause large latencies under periods of system stress for normal nice 0 tasks.
Signed-off-by Con Kolivas <[email protected]>
kernel/workqueue.c +1 -1
@@ -188,7 +188,7 @@ static int worker_thread(void *__cwq) current->flags |=PF_NOFREEZE ; -set_user_nice (current,-10 ); +set_user_nice (current,-5 );/* Block and flush all signals */ sigfillset (&blocked);
Quoted 1 line · Con Kolivas
alter kthread prio
ack - but this too needs testing in -mm. Could be 2.6.11 material.
Ingo