Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy implementation.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Tuesday, April 13, 2010 - 11:22 am

On Sun, 2010-02-28 at 20:17 +0100, Raistlin wrote:

"remaining runtime", I presume?


We could write that as:

  if (dl_time_before(dl_se, rq->clock) ||
      !dl_check_bandwidth(dl_se, rq->clock)) {
	/* reset parameters */
  }

Also, I was wondering about a more descriptive name for
dl_check_bandwidth(), check _what_ about the bandwidth!?

dl_bandwidth_overflow() perhaps, that would also remove that negation.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/11] sched: SCHED_DEADLINE v2, Raistlin, (Sun Feb 28, 12:06 pm)
Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy implem ..., Peter Zijlstra, (Tue Apr 13, 11:22 am)
Re: [RFC][PATCH 0/11] sched: SCHED_DEADLINE v2, Peter Zijlstra, (Wed Apr 14, 3:17 am)