mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh@veritas.com>
To: Pavel Machek <pavel@suse.cz>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	clameter@sgi.com, ntl@pobox.com, akpm@osdl.org,
	linux-kernel@vger.kernel.org, ashok.raj@intel.com, ak@suse.de,
	nickpiggin@yahoo.com.au, mingo@elte.hu
Subject: Re: [PATCH] stop on cpu lost
Date: Thu, 22 Jun 2006 19:54:07 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0606221938410.17581@blonde.wat.veritas.com> (raw)
In-Reply-To: <20060622182231.GC4193@elf.ucw.cz>

On Thu, 22 Jun 2006, Pavel Machek wrote:
> 
> > > Hm..
> > > Then, there is several ways to manage this sitation.
> > > 
> > > 1. migrate all even if it's not allowed by users
> 
> That's what I'd prefer... as swsusp uses cpu hotplug. All the other
> options are bad... admin will probably not realize suspend involves
> cpu unplugs..
> 
> > > 2. kill mis-configured tasks.
> > > 3. stop ...
> > > 4. cancel cpu-hot-removal.

I'm very reluctant to expose my ignorance by joining this thread;
but what I'd naively expect would, I think, suit swsusp also -
you don't really want tasks to be migrated when resuming?

I'd expect tasks bound to the unplugged cpu simply not to be run
until "that" cpu is plugged back in.

With proviso that it should be possible to "kill -9" such a task
i.e. it be allowed to run in kernel on a wrong cpu just to exit.

Presumably this is difficult, because unplugging a cpu will also
remove infrastructure which would, for example, allow "ps" to show
such tasks.  Perhaps such infrastructure should remain so long as
there are tasks there.

Ignore me if I'm talking nonsense.

Hugh

  parent reply	other threads:[~2006-06-22 18:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-20  3:51 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
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 [this message]
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=Pine.LNX.4.64.0606221938410.17581@blonde.wat.veritas.com \
    --to=hugh@veritas.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=ntl@pobox.com \
    --cc=pavel@suse.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

all inboxes | Powered by JetHome®