mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Nathan Lynch <ntl@pobox.com>,
	linux-kernel@vger.kernel.org, jeremy@goop.org,
	rdunlap@xenotime.net, clameter@sgi.com, akpm@osdl.org,
	ashok.raj@intel.com, ak@suse.de, nickpiggin@yahoo.com.au,
	mingo@elte.hu
Subject: Re: [RFC][PATCH] avoid cpu hot removal if busy take3
Date: Fri, 23 Jun 2006 17:10:05 +0200	[thread overview]
Message-ID: <20060623151005.GB22250@elf.ucw.cz> (raw)
In-Reply-To: <20060623233525.addf1892.kamezawa.hiroyu@jp.fujitsu.com>

On Fri 2006-06-23 23:35:25, KAMEZAWA Hiroyuki wrote:
> On Fri, 23 Jun 2006 09:27:46 -0500
> Nathan Lynch <ntl@pobox.com> wrote:
> 
> > KAMEZAWA Hiroyuki wrote:
> > > This patch adds sysctl cpu_removal_migration.
> > > If cpu_removal_migration == 1, all tasks are migrated by force.
> > > If cpu_removal_migration == 0, cpu_hotremoval can fail because of not-migratable
> > > tasks.
> > > 
> > > Note: cpu scheduler's notifier chain has the highest priority. then, this
> > >       failure detection will be done at first.
> > 
> > I'm still not convinced that this is a good thing to do.  I reiterate:
> > this can be implemented in userspace (probably with fewer lines of
> > code, even).  Why should this policy be in the kernel?
> > 
> I don't think so.
> If we can expect all things can be maintained by user-space in proper way,
> why we need forced migration ? This patch is just one of possible workarounds. 
> and implemtns, "success always" and "fail if busy" policy to cpu-hot-remove.

So... we have piece of policy in kernel, that maybe should not be
there (forced migration). Now, you want to make that policy optional,
and add second piece of policy?

No no, I'm afraid.							Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2006-06-23 15:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23  7:40 KAMEZAWA Hiroyuki
2006-06-23 14:27 ` Nathan Lynch
2006-06-23 14:35   ` KAMEZAWA Hiroyuki
2006-06-23 15:10     ` Pavel Machek [this message]
2006-06-23 15:34       ` KAMEZAWA Hiroyuki
2006-06-23 19:09 ` Ashok Raj
2006-06-23 23:27   ` KAMEZAWA Hiroyuki
2006-06-24 22:21   ` Randy.Dunlap

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=20060623151005.GB22250@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=ashok.raj@intel.com \
    --cc=clameter@sgi.com \
    --cc=jeremy@goop.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=nickpiggin@yahoo.com.au \
    --cc=ntl@pobox.com \
    --cc=rdunlap@xenotime.net \
    /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®