From: Jan Engelhardt Fix kevent's childs priority greediness. Such tasks were always scheduled at nice level -5 and, at that time, udev stole us the CPU time with -5. Already posted at http://lkml.org/lkml/2005/1/10/85 Signed-off-by: Jan Engelhardt Cc: Chris Wright Signed-off-by: Andrew Morton --- kernel/kmod.c | 1 + 1 file changed, 1 insertion(+) diff -puN kernel/kmod.c~fix-kevents-childs-priority-greediness kernel/kmod.c --- a/kernel/kmod.c~fix-kevents-childs-priority-greediness +++ a/kernel/kmod.c @@ -164,6 +164,7 @@ static int ____call_usermodehelper(void /* We can run anywhere, unlike our parent keventd(). */ set_cpus_allowed(current, CPU_MASK_ALL); + set_user_nice(current, 0); retval = -EPERM; if (current->fs->root) _