[PATCH] sched: Rationalize sys_sched_rr_get_interval()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Nick Piggin <npiggin@...>, Siddha, Suresh B <suresh.b.siddha@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, October 10, 2007 - 8:37 pm

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@bigpond.net.au>

Peter
-- 
Peter Williams                                   pwil3058@bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
      -- Ambrose Bierce
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sched: Rationalize sys_sched_rr_get_interval(), Peter Williams, (Wed Oct 10, 8:37 pm)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Dmitry Adamushko, (Thu Oct 11, 3:44 am)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Peter Williams, (Thu Oct 11, 6:23 pm)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Jarek Poplawski, (Fri Oct 12, 2:49 am)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Peter Williams, (Fri Oct 12, 9:29 pm)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Jarek Poplawski, (Mon Oct 15, 7:11 am)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Peter Williams, (Mon Oct 15, 9:16 pm)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Jarek Poplawski, (Tue Oct 16, 5:42 am)
Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval(), Peter Williams, (Tue Oct 16, 8:23 pm)