public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Greg Howard <ghoward@sgi.com>, davem@davemloft.net
Cc: linux-kernel@vger.kernel.org
Subject: Standardize shutdown of the system from enviroment control modules
Date: Tue, 9 Aug 2005 23:10:03 +0200	[thread overview]
Message-ID: <20050809211003.GA29361@lst.de> (raw)

Currently snsc_event for Altix systems sends SIGPWR to init (and abuses
tasklist_lock..) while the sbus drivers call execve for /sbin/shutdown
(which is also ugly, it should at least use call_usermodehelper)
With normal sysvinit both will end up the same, but I suspect the
shutdown variant, maybe with a sysctl to chose the exact path to call
would be cleaner.  What do you guys think about adding a common function
to do this.  Could you test such a patch for me?

             reply	other threads:[~2005-08-09 21:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-09 21:10 Christoph Hellwig [this message]
2005-08-09 21:25 ` Standardize shutdown of the system from enviroment control modules Greg Howard
2005-08-09 21:36   ` Standardize shutdown of the system from enviroment control Aaron Young
2005-08-11 12:10 ` Standardize shutdown of the system from enviroment control modules Pavel Machek
2005-08-11 17:37 ` [PATCH, RFC] " Christoph Hellwig
2005-08-26 11:44   ` Christoph Hellwig
2005-08-26 12:22     ` Greg Howard
2005-08-27 13:16       ` Denis Vlasenko

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=20050809211003.GA29361@lst.de \
    --to=hch@lst.de \
    --cc=davem@davemloft.net \
    --cc=ghoward@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    /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