public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Manfred Spraul <manfred@colorfullife.com>,
	"David S. Miller" <davem@davemloft.net>
Cc: paulmck@linux.vnet.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kernel/cpu.c: create a CPU_STARTING cpu_chain notifier
Date: Mon, 8 Sep 2008 19:26:02 +0200	[thread overview]
Message-ID: <20080908172602.GF17881@elte.hu> (raw)
In-Reply-To: <200809081710.m88HAgXl015314@mail.q-ag.de>


* Manfred Spraul <manfred@colorfullife.com> wrote:

> Right now, there is no notifier that is called on a new cpu, before 
> the new cpu begins processing interrupts/softirqs. Various kernel 
> function would need that notification, e.g. kvm works around by 
> calling smp_call_function_single(), rcu polls cpu_online_map.
> 
> The patch adds a CPU_STARTING notification. It also adds a helper 
> function that sends the message to all cpu_chain handlers.
> 
> Tested on x86-64.
>
> All other archs are untested. Especially on sparc, I'm not sure if I 
> got it right.

applied to tip/sched/cpu-hotplug - thanks Manfred, nice cleanup. (FYI, i 
fixed up the 3 problems that checkpatch reported)

David, can you see any problems with the Sparc32 bits?

	Ingo

  reply	other threads:[~2008-09-08 17:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 14:57 [PATCH] kernel/cpu.c: create a CPU_STARTING cpu_chain notifier Manfred Spraul
2008-09-08 17:26 ` Ingo Molnar [this message]
2008-09-08 18:50 ` Paul E. McKenney

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=20080908172602.GF17881@elte.hu \
    --to=mingo@elte.hu \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=paulmck@linux.vnet.ibm.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