[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ba7d8f720804111021v25cc4688mf6e36f571fd2b388@mail.gmail.com>
Date: Fri, 11 Apr 2008 13:21:28 -0400
From: "Dan Upton" <upton.dan.linux@...il.com>
To: linux-kernel@...r.kernel.org
Subject: CFS rq lock question
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists