Files
kernel_arpi/include/linux
Peter Zijlstra 371fd7e7a5 sched: Add enqueue/dequeue flags
In order to reduce the dependency on TASK_WAKING rework the enqueue
interface to support a proper flags field.

Replace the int wakeup, bool head arguments with an int flags argument
and create the following flags:

  ENQUEUE_WAKEUP - the enqueue is a wakeup of a sleeping task,
  ENQUEUE_WAKING - the enqueue has relative vruntime due to
                   having sched_class::task_waking() called,
  ENQUEUE_HEAD - the waking task should be places on the head
                 of the priority queue (where appropriate).

For symmetry also convert sched_class::dequeue() to a flags scheme.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-04-02 20:12:05 +02:00
..
2010-03-12 15:53:10 -08:00
2010-03-01 15:11:32 -05:00
2009-06-11 21:36:09 -04:00
2010-03-12 15:52:32 -08:00
2010-03-07 22:17:09 +01:00
2010-03-02 12:23:42 +01:00
2010-03-02 12:23:49 +01:00
2010-02-18 14:08:38 -08:00
2010-02-17 16:35:17 -08:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:52:36 -08:00
2010-03-12 15:52:40 -08:00
2010-03-12 15:53:10 -08:00
2010-03-12 15:53:10 -08:00
2010-02-19 03:35:12 -05:00
2010-03-12 15:52:38 -08:00
2010-03-12 15:52:28 -08:00
2010-03-12 15:53:10 -08:00
2010-02-19 15:52:40 -05:00
2010-02-14 07:13:47 -07:00
2010-02-23 23:14:47 -08:00
2010-03-12 15:53:11 -08:00
2006-10-03 23:01:26 +02:00
2010-03-05 00:20:31 +01:00
2010-03-12 15:52:44 -08:00
2010-03-02 14:28:49 -05:00
2010-03-12 15:53:10 -08:00
2010-04-02 20:12:05 +02:00
2010-03-12 15:52:43 -08:00
2010-02-16 13:38:56 +09:00
2010-03-12 15:52:44 -08:00
2010-03-12 15:52:36 -08:00
2010-02-18 15:43:09 -08:00