public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Paul Jackson <pj@engr.sgi.com>
Cc: dipankar@in.ibm.com, k-suganuma@mvj.biglobe.ne.jp,
	focht@ess.nec.de, rml@tech9.net, linux-kernel@vger.kernel.org,
	mingo@elte.hu, colpatch@us.ibm.com,
	lse-tech@lists.sourceforge.net
Subject: Re: [Lse-tech] Re: [PATCH] O(1) scheduler set_cpus_allowed for non-current tasks
Date: Fri, 1 Jan 1904 00:19:53 +1000	[thread overview]
Message-ID: <19040101001954.51000b1d.rusty@rustcorp.com.au> (raw)
In-Reply-To: <Pine.SGI.4.21.0202251948150.592622-100000@sam.engr.sgi.com>
In-Reply-To: <20020225175853.B15397@in.ibm.com> <Pine.SGI.4.21.0202251948150.592622-100000@sam.engr.sgi.com>

On Mon, 25 Feb 2002 19:59:49 -0800
Paul Jackson <pj@engr.sgi.com> wrote:

> On Mon, 25 Feb 2002, Dipankar Sarma wrote:
> >
> > If these are processes that are bound to the CPU to be shut down,
> > wouldn't it make sense to fail the CPU shut down operation ? If you
> > are giving enough control to the user to make CPU affinity decisions,
> > they better know how to cleanup before shutting down a CPU.
> 
> I can imagine some users (applications) wanting to insist on
> staying on a particular CPU (Pike's Peak or Bust), and some
> content to be migrated automatically, and some wanting to
> receive and act on requests to migrate.
> 
> One of these policies might be default, with others as options.
> 
> Some CPU shut down operations _can't_ fail ... if they are motivated
> say by hardware about to fail.

Exactly.  If I run the RC5 challenge, one per cpu (using a mythical
oncpu(1) program, say), I'd be very upset if my whole machine dies because
it don't take down a faulty CPU!

I think SIGPWR is appropriate here.  If that doesn't work, then SIGKILL.
Of course, ksoftirqd is a special case, etc.

Rusty.
-- 
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

  reply	other threads:[~2002-02-27  1:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 17:57 [PATCH] O(1) scheduler set_cpus_allowed for non-current tasks Erich Focht
2002-02-20 19:44 ` Robert Love
2002-02-20 20:38   ` [Lse-tech] " Paul Jackson
2002-02-21  0:07     ` Erich Focht
2002-02-21  1:12       ` Paul Jackson
2002-02-21  1:40         ` [Lse-tech] " Kimio Suganuma
2002-02-21  2:04           ` Paul Jackson
2002-02-21  2:29             ` Kimio Suganuma
2002-02-21  4:56               ` Reid Hekman
2002-02-23  2:47           ` Rusty Russell
2002-02-25 12:28             ` Dipankar Sarma
2002-02-26  3:59               ` Paul Jackson
2002-02-27  1:40                 ` Rusty Russell [this message]
2002-02-21 14:38         ` Erich Focht
2002-02-21 16:59           ` Ingo Molnar
2002-02-21 15:15             ` Erich Focht
2002-02-21 21:05           ` Paul Jackson
2002-02-25 20:01     ` [Lse-tech] " Bill Davidsen
2002-02-21  4:49 ` [Lse-tech] " kravetz
2002-02-21 16:32 ` Ingo Molnar
2002-02-21 21:25   ` Paul Jackson
2002-02-22  9:12     ` Ingo Molnar
2002-02-22 19:44       ` [Lse-tech] " Paul Jackson

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=19040101001954.51000b1d.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=colpatch@us.ibm.com \
    --cc=dipankar@in.ibm.com \
    --cc=focht@ess.nec.de \
    --cc=k-suganuma@mvj.biglobe.ne.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    --cc=mingo@elte.hu \
    --cc=pj@engr.sgi.com \
    --cc=rml@tech9.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