From: Rusty Russell <rusty@rustcorp.com.au>
To: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, Kathy Staples <kathy.staples@au1.ibm.com>
Subject: Re: [PATCH 1/3] stop_machine: short exit path for if we cannot create enough threads
Date: Tue, 6 May 2008 12:57:05 +1000 [thread overview]
Message-ID: <200805061257.05745.rusty@rustcorp.com.au> (raw)
In-Reply-To: <481679F1.7010108@jp.fujitsu.com>
On Tuesday 29 April 2008 11:29:21 Hidetoshi Seto wrote:
> stop_machine_run() invokes kthread 'kstopmachine' and the kthread
> creates its children for every other cpus.
Hi Hidetoshi,
I'm glad to see some work on stop_machine! I'd really like to rewrite it:
it has some nasty properties at the moment and introduces latency it doesn't
have to.
Among the properties we want in a new stop_machine are:
1) timeout protection (as your patches),
2) arbitrary cpumask for what cpus to run function on,
3) ability to run something other than cpu_relax() on stopped cpus,
4) much lower latency for the common case,
5) simpler than the current code.
I expect to get to this in the next week or so, but please remind me if you
don't see anything. I've applied your patches in the mean time (although #3
needed to be wrapped in #ifdef CONFIG_STOPMACHINE) in case I don't get that
work finished for 2.6.27.
Thanks!
Rusty.
next prev parent reply other threads:[~2008-05-06 5:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 1:25 [PATCH 0/3] patches for stop_machine Hidetoshi Seto
2008-04-29 1:29 ` [PATCH 1/3] stop_machine: short exit path for if we cannot create enough threads Hidetoshi Seto
2008-05-06 2:57 ` Rusty Russell [this message]
2008-04-29 1:31 ` [PATCH 2/3] stop_machine: add timeout for child thread deployment Hidetoshi Seto
2008-04-29 1:33 ` [PATCH 3/3] stop_machine: add stopmachine_timeout sysctl entry Hidetoshi Seto
2008-04-29 2:25 ` [PATCH 0/3] patches for stop_machine Hidetoshi Seto
2008-05-02 20:33 ` Pavel Machek
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=200805061257.05745.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=kathy.staples@au1.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.