[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <470D7055.4090000@bigpond.net.au>
Date: Thu, 11 Oct 2007 10:37:41 +1000
From: Peter Williams <pwil3058@...pond.net.au>
To: Ingo Molnar <mingo@...e.hu>
CC: Nick Piggin <npiggin@...e.de>,
"Siddha, Suresh B" <suresh.b.siddha@...el.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] sched: Rationalize sys_sched_rr_get_interval()
At the moment, static_prio_timeslice() is only used in
sys_sched_rr_get_interval() and only gives the correct result for
SCHED_FIFO and SCHED_RR tasks as the time slice for normal tasks is
unrelated to the values returned by static_prio_timeslice().
This patch addresses this problem and in the process moves all the code
associated with static_prio_timeslice() to sched_rt.c which is the only
place where it now has relevance.
Signed-off-by: Peter Williams <pwil3058@...pond.net.au>
Peter
--
Peter Williams pwil3058@...pond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
View attachment "rationalize-sys_sched_rr_get_interval.patch" of type "text/x-patch" (5121 bytes)
Powered by blists - more mailing lists