On Fri, 2008-04-11 at 13:21 -0400, Dan Upton wrote:
/*
* Load-balancing iterator. Note: while the runqueue stays locked
* during the whole iteration, the current task might be
* dequeued so the iterator has to be dequeue-safe. Here we
* achieve that by always pre-iterating before returning
* the current task:
*/
I don't think this comment is correct, but if it were, it would only
apply to rq->curr, not for any enqueue/dequeue.
--