Re: CFS rq lock question

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dan Upton <upton.dan.linux@...>
Cc: <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Friday, April 11, 2008 - 1:37 pm

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.



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

Messages in current thread:
CFS rq lock question, Dan Upton, (Fri Apr 11, 1:21 pm)
Re: CFS rq lock question, Peter Zijlstra, (Fri Apr 11, 1:37 pm)
Re: CFS rq lock question, Peter Zijlstra, (Fri Apr 11, 1:41 pm)