login
Header Space

 
 

CFS rq lock question

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Friday, April 11, 2008 - 1:21 pm

I'm poking around with some scheduler stuff, and there's something I'm
not clear on for the CFS runqueue locks.  The comments before
__load_balance_iterator(...) in sched_fair.c suggests things can be
dequeued even though the runqueue lock is held.  Can things also be
added to the queue while the lock is held?  (Also, either way, what's
the rationale that dequeueing is a safe procedure when somebody else
holds a lock?)

-dan
--
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)
speck-geostationary