From: Paul Jackson <pj@sgi.com>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: akpm@linux-foundation.org, menage@google.com,
seto.hidetoshi@jp.fujitsu.com, laijs@cn.fujitsu.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] cpuset: clean up cpuset hierarchy traversal code
Date: Sun, 27 Jul 2008 23:37:46 -0500 [thread overview]
Message-ID: <20080727233746.7f057e74.pj@sgi.com> (raw)
In-Reply-To: <488D332A.1030008@cn.fujitsu.com>
Li Zefan wrote:
> + list_add(&top_cpuset.stack_list, &q);
Can you figure out if we are holding any system wide lock, such as
cgroup_mutex, at this point? There is only one top_cpuset.stack_list
in the system, so I would think that we need to single thread its usage
somehow.
The hotplug hooks, such as common_cpu_mem_hotplug_unplug() that were
added sometime in the last few months (while the so called maintainer,
who's initials seem to be 'pj', was asleep ;) don't describe what
locking applies to them very well, and they call rebuild_sched_domains(),
where the above line of code lives.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
next prev parent reply other threads:[~2008-07-28 4:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 2:47 Li Zefan
2008-07-28 4:37 ` Paul Jackson [this message]
2008-07-28 5:12 ` Paul Jackson
2008-07-29 1:44 ` Li Zefan
2008-07-28 6:01 ` Paul Jackson
2008-07-28 17:20 ` Max Krasnyansky
2008-07-29 1:25 ` Li Zefan
2008-07-30 10:12 ` Paul Jackson
2008-07-29 1:30 ` Li Zefan
2008-07-29 13:04 ` Paul Jackson
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=20080727233746.7f057e74.pj@sgi.com \
--to=pj@sgi.com \
--cc=akpm@linux-foundation.org \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=menage@google.com \
--cc=seto.hidetoshi@jp.fujitsu.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
all inboxes | Powered by JetHome®