From: "Paul Menage" <menage@google.com>
To: "Paul Jackson" <pj@sgi.com>
Cc: "Max Krasnyansky" <maxk@qualcomm.com>,
mingo@elte.hu, linux-kernel@vger.kernel.org,
a.p.zijlstra@chello.nl
Subject: Re: [PATCH] cpuset: Make rebuild_sched_domains() usable from any context
Date: Tue, 15 Jul 2008 09:11:10 -0700 [thread overview]
Message-ID: <6599ad830807150911jede167ewbcdfdff905b5059e@mail.gmail.com> (raw)
In-Reply-To: <20080715110726.5837c783.pj@sgi.com>
On Tue, Jul 15, 2008 at 9:07 AM, Paul Jackson <pj@sgi.com> wrote:
> If this rebuild thread was the -only- way that sched domains were
> allowed to be rebuilt, and if this rebuild was done -asynchronously-
> sometime shortly after requested, without any error or status feedback,
> then it would seem to simplify the locking issues.
I sent a patch that was similar a couple of weeks ago, that used a
workqueue to do the rebuild. It didn't quite work then since it wasn't
safe to call get_online_cpus() from a multi-threaded workqueue then,
but I believe there's been a patch since then that makes this safe.
And if not, we could always have a single-threaded workqueue that
wasn't bound to any particular CPU.
Paul
next prev parent reply other threads:[~2008-07-15 16:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 11:44 Max Krasnyansky
2008-07-15 16:07 ` Paul Jackson
2008-07-15 16:11 ` Paul Menage [this message]
2008-07-15 17:19 ` Max Krasnyansky
2008-07-15 16:14 ` Paul Menage
2008-07-15 17:27 ` Max Krasnyansky
2008-07-15 20:51 ` Max Krasnyansky
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=6599ad830807150911jede167ewbcdfdff905b5059e@mail.gmail.com \
--to=menage@google.com \
--cc=a.p.zijlstra@chello.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=maxk@qualcomm.com \
--cc=mingo@elte.hu \
--cc=pj@sgi.com \
/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
Powered by JetHome