Re: [RFC][PATCH 05/22] sched: SCHED_DEADLINE policy implementation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, November 11, 2010 - 7:17 am

On Fri, 2010-10-29 at 08:30 +0200, Raistlin wrote:

So you keep the current task in the rb-tree? If you remove the current
task from the tree you don't have to do the whole dequeue/enqueue thing.
Then again, I guess it only really matters once you push the deadline,
which shouldn't be that often.

Also, you might want to put a conditional around that resched, no point
rescheduling if you're still the leftmost task.


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

Messages in current thread:
Re: [RFC][PATCH 05/22] sched: SCHED_DEADLINE policy implem ..., Peter Zijlstra, (Thu Nov 11, 7:17 am)