From: Rusty Russell <rusty@rustcorp.com.au>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: linux-kernel@vger.kernel.org, Mike Travis <travis@sgi.com>,
Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>,
schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com,
npiggin@suse.de, axboe@kernel.dk
Subject: Re: [PATCH 1/1] cpumask: smp_call_function_many()
Date: Thu, 20 Nov 2008 15:14:08 +1030 [thread overview]
Message-ID: <200811201514.09511.rusty@rustcorp.com.au> (raw)
In-Reply-To: <200811201421.50518.nickpiggin@yahoo.com.au>
On Thursday 20 November 2008 13:51:49 Nick Piggin wrote:
> I don't like changing of this whole smp_call_function_many scheme
> with no justification or even hint of it in the changelog.
Hi Nick,
Hmm, it said "if allocation fails we fallback to smp_call_function_single
rather than using the baroque quiescing code."
More words would have been far less polite :)
> Of course it is obvious that smp_call_function_mask can be implemented
> with multiple call singles. But some architectures that can do
> broadcast IPIs (or otherwise a little extra work eg. in programming
> the interrupt controller) will lose here.
>
> Also the locking and cacheline behaviour is probably actually worse.
Dude, we've failed kmalloc. To paraphrase Monty Python, the parrot is fucked.
By this stage the disks are churning, the keyboard isn't responding and the
OOM killer is killing the mission-critical database and other vital apps.
Everything else is failing on random syscalls like unlink(). Admins wondering
how long it'll take to fsck if they just hit the big red switch now.
OK, maybe it's not that bad, but worrying about cacheline behaviour? I'd
worry about how recently that failure path has been tested.
I can prepare a separate patch which just changes this over, rather than doing
it as part of the smp_call_function_many() conversion, but I couldn't stomach
touching that quiescing code :(
Rusty.
next prev parent reply other threads:[~2008-11-20 4:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 14:45 [PATCH 1/1] cpumask: smp_call_function_many() Rusty Russell
2008-11-19 20:23 ` Hiroshi Shimamoto
2008-11-19 23:38 ` Rusty Russell
2008-11-20 3:21 ` Nick Piggin
2008-11-20 4:44 ` Rusty Russell [this message]
2008-11-20 6:57 ` Nick Piggin
2008-11-20 11:08 ` Rusty Russell
2008-11-20 11:12 ` Nick Piggin
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=200811201514.09511.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=axboe@kernel.dk \
--cc=h-shimamoto@ct.jp.nec.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=npiggin@suse.de \
--cc=schwidefsky@de.ibm.com \
--cc=travis@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