Re: [PATCH 3/3] scheduler: introduce SCHED_RESET_ON_FORKscheduling policy flag

From: Lennart Poettering
Date: Thu May 28 2009 - 10:16:31 EST


On Thu, 28.05.09 16:09, Lennart Poettering (mzxreary@xxxxxxxxxxx) wrote:

Please ignore the 3/3 in the subject of the original patch. It's just
this one patch. Sorry for the confusion.

> This patch introduces a new flag SCHED_RESET_ON_FORK which can be passed
> to the kernel via sched_setscheduler(), ORed in the policy parameter. If
> set this will make sure that when the process forks a) the scheduling
> priority is reset to DEFAULT_PRIO if it was higher and b) the scheduling
> policy is reset to SCHED_NORMAL if it was either SCHED_FIFO or SCHED_RR.

Lennart

--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
--
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/