mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Keiichiro Tokunaga <tokunaga.keiich@jp.fujitsu.com>
Cc: Andi Kleen <ak@muc.de>,
	linux-kernel@vger.kernel.org, lhns-devel@lists.sourceforge.net
Subject: Re: [ANNOUNCE] [PATCH] Node Hotplug Support
Date: 10 May 2004 21:54:39 +0200	[thread overview]
Date: Mon, 10 May 2004 21:54:39 +0200	[thread overview]
Message-ID: <20040510195439.GA99051@colin2.muc.de> (raw)
In-Reply-To: <20040510111722.29524459.tokunaga.keiich@jp.fujitsu.com>

On Mon, May 10, 2004 at 11:17:22AM +0900, Keiichiro Tokunaga wrote:
> As you mentioned, there can be many more things.  However,
> the examples you showed should be handled by individual hotplug.
> For instance, the processes bound to a certain CPU should be
> handled by CPU hotplug when node hotplug invokes CPU hotplug.
> Also, the device drivers bound to slots should be detached by
> IO hotplug.  Node hotplug is supposed to take care of a container
> device and just invoke individual hotplugs for other devices.
> Node hotplug doesn't break any policy of each hotplug (CPU,
> memory, IO, etc).

To coordinate all them you need user space infrastructure anyways
that knows about all the elements of a node.  I don't see why you want a 
kernel level container too; userspace can do this job already
and would be much more flexible.

> > This has the advantage that if there is some reason to 
> > add CPUs without memory (or memory without CPUs or PCI slots 
> > without anything) it will just work too. It is not clear
> > that your "lump everything mechanism into one" can handle all
> > that. Most likely you would need to add lots of special
> > cases to it to handle all this. Separate mechanisms can
> > do this cleaner.
> 
> Yes. The cases (combination of hardware) would increase.
> However, I don't think there would be that many today.

I am mainly thinking about virtualization here for which hotplug
of everything makes definitely sense. But the requirements could
be very different from what a big iron machine wants.

> Are you saying here that platform-independent and dependent
> codes should be separated so that the independent part could
> be implemented by any other platform (firmware) in their own
> style?  If so, I agree and some discussion are necessary :)

Yep.

-Andi

  reply	other threads:[~2004-05-10 19:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1TfLX-4M4-9@gated-at.bofh.it>
2004-05-07 19:10 ` Andi Kleen
2004-05-08 18:00   ` Ingo Oeser
2004-05-10  2:17   ` Keiichiro Tokunaga
2004-05-10 19:54     ` Andi Kleen [this message]
2004-05-07 15:39 Keiichiro Tokunaga
2004-05-07 15:49 ` Dave Hansen
2004-05-10  1:47   ` Keiichiro Tokunaga
2004-05-10  5:45     ` Dave Hansen
2004-05-13  1:27       ` Keiichiro Tokunaga
2004-05-13  2:04         ` Dave Hansen
2004-05-13  6:35           ` Keiichiro Tokunaga
2004-05-07 16:16 ` Martin J. Bligh
2004-05-10  2:03   ` Keiichiro Tokunaga

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=20040510195439.GA99051@colin2.muc.de \
    --to=ak@muc.de \
    --cc=lhns-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tokunaga.keiich@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

Powered by JetHome