From: Nathan Lynch <ntl@pobox.com>
To: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
clameter@sgi.com, akpm@osdl.org, linux-kernel@vger.kernel.org,
ashok.raj@intel.com, pavel@ucw.cz, ak@suse.de,
nickpiggin@yahoo.com.au, mingo@elte.hu
Subject: Re: [PATCH] stop on cpu lost
Date: Thu, 22 Jun 2006 12:04:31 -0500 [thread overview]
Message-ID: <20060622170431.GM16029@localdomain> (raw)
In-Reply-To: <20060622092422.256d6692.rdunlap@xenotime.net>
Randy.Dunlap wrote:
> On Fri, 23 Jun 2006 01:05:50 +0900 KAMEZAWA Hiroyuki wrote:
>
> > On Thu, 22 Jun 2006 08:45:55 -0700 (PDT)
> > Christoph Lameter <clameter@sgi.com> wrote:
> >
> > > On Thu, 22 Jun 2006, Randy.Dunlap wrote:
> > >
> > > > Sounds much better than just killing the process.
> > >
> > > Right and having active interrupts or devices using that processor should
> > > also stop offlining a processor.
> > >
> > > So just remove everything from a processor before offlining. If you cannot
> > > remove all users then the processor cannot be offlined.
> > >
> > Hm..
> > Then, there is several ways to manage this sitation.
> >
> > 1. migrate all even if it's not allowed by users
> > 2. kill mis-configured tasks.
>
> I would claim that the tasks are not misconfigured,
> but that the admin misconfigured the hardware (CPU).
>
> > 3. stop ...
> > 4. cancel cpu-hot-removal.
> >
> > I just don't like "1".
>
> I like it better than 2.
>
> > I discussed this problem with my colleagues before sending patch,
> > one said "4" seems regular way but another said "4" is bad.
> >
> > I sent a patch for "4" in the first place but Andi Kleen said it's bad.
> > As he said, I'm handling the problem for which I can't find a good answer :(
> >
> > my point is that "1" is bad.
>
> Sounds like we are getting nowhere. The sysctl knob might
> have to be the answer.
I don't like having the kernel forcibly kill or stop tasks for this
case, regardless of whether the behavior is configurable. What I
originally meant to suggest was a sysctl knob which will control
whether the offline will fail in this situation. But I'm still more
inclined to leave the kernel's handling of this as it stands, since
this is policy that can be implemented in userspace.
We need to preserve the current behavior as the default, in any case.
next prev parent reply other threads:[~2006-06-22 17:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 3:51 [PATCH] stop on cpu lost KAMEZAWA Hiroyuki
2006-06-22 5:56 ` Andrew Morton
2006-06-22 6:14 ` Christoph Lameter
2006-06-22 15:08 ` Nathan Lynch
2006-06-22 15:45 ` Randy.Dunlap
2006-06-22 15:45 ` Christoph Lameter
2006-06-22 16:05 ` KAMEZAWA Hiroyuki
2006-06-22 16:14 ` Christoph Lameter
2006-06-22 16:24 ` Randy.Dunlap
2006-06-22 17:04 ` Nathan Lynch [this message]
2006-06-22 17:20 ` KAMEZAWA Hiroyuki
2006-06-22 18:22 ` Pavel Machek
2006-06-22 18:35 ` Christoph Lameter
2006-06-22 18:37 ` Pavel Machek
2006-06-22 18:54 ` Hugh Dickins
2006-06-22 19:27 ` Nick Piggin
2006-06-22 19:46 ` Hugh Dickins
2006-06-22 19:57 ` Nick Piggin
2006-06-22 20:25 ` Hugh Dickins
2006-06-22 21:44 ` Pavel Machek
2006-06-22 19:52 ` Jeremy Fitzhardinge
2006-06-22 21:46 ` 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=20060622170431.GM16029@localdomain \
--to=ntl@pobox.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=ashok.raj@intel.com \
--cc=clameter@sgi.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=nickpiggin@yahoo.com.au \
--cc=pavel@ucw.cz \
--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