From: "Dan Upton" <upton.dan.linux@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: CFS rq lock question
Date: Fri, 11 Apr 2008 13:21:28 -0400 [thread overview]
Message-ID: <ba7d8f720804111021v25cc4688mf6e36f571fd2b388@mail.gmail.com> (raw)
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
next reply other threads:[~2008-04-11 17:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-11 17:21 Dan Upton [this message]
2008-04-11 17:37 ` Peter Zijlstra
2008-04-11 17:41 ` Peter Zijlstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ba7d8f720804111021v25cc4688mf6e36f571fd2b388@mail.gmail.com \
--to=upton.dan.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®