Re: keventd gives exceptional priority to usermode helpers

From: Jan Engelhardt
Date: Mon Jan 10 2005 - 06:52:17 EST


>> @@ -165,6 +165,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);
>
>Seems reasonable. Although, I don't see a niceval of -20, but -5 on
>keventd (workqueues do set_user_nice(-5)). Also, this patch is

Right, `ps` only shows "<" for <0, "" for 0 and "N" for >0. But -5 is still a
hard thing.

>whitespace damaged, should be tab not spaces.

the neverending debate...



Jan Engelhardt
--
ENOSPC
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/