Re: [PATCH 5/6] sched: SCHED_FIFO/SCHED_RR watchdog timer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Saturday, November 3, 2007 - 11:16 am

On Wed, Oct 31, 2007 at 11:03:28PM +0100, Peter Zijlstra wrote:

That's impractical -- you would need to patch the process or call
it from a special program, which is not nice.

rlimits are useful to set a limit during log in. For that the
children can be all kinds of different processes and possibly use
different settings.


You set the classes once per rlimit (e.g. in a pam module)
Then the processes set different scheduling priorities by themselves
(standard programs do that). Then that priority would map to a different
class.

-Andi

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 5/6] sched: SCHED_FIFO/SCHED_RR watchdog timer, Peter Zijlstra, (Wed Oct 31, 2:10 pm)
Re: [PATCH 5/6] sched: SCHED_FIFO/SCHED_RR watchdog timer, Peter Zijlstra, (Wed Oct 31, 3:03 pm)
Re: [PATCH 5/6] sched: SCHED_FIFO/SCHED_RR watchdog timer, Andi Kleen, (Sat Nov 3, 11:16 am)