All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: herbert@gondor.apana.org.au (Herbert Xu)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Remotely rebooting a machine with state 'D' processes, how?
Date: 11 Aug 2001 00:55:46 +0200	[thread overview]
Message-ID: <k2y9orcyod.fsf@zero.aec.at> (raw)
In-Reply-To: <200108102159.f7ALxb908284@penguin.transmeta.com> <E15VL6x-0007Jm-00@gondolin.me.apana.org.au>
In-Reply-To: herbert@gondor.apana.org.au's message of "Fri, 10 Aug 2001 22:52:04 +0000 (UTC)"

In article <E15VL6x-0007Jm-00@gondolin.me.apana.org.au>,
herbert@gondor.apana.org.au (Herbert Xu) writes:
> Linus Torvalds <torvalds@transmeta.com> wrote:
>> In article <20010810231906.A21435@bonzo.nirvana> you write:

>> You have to use the reboot() system call directly as root, with the
>> proper arguments to make it avoid doing even any sync. See

>> man 2 reboot

> How do you do this when the process in the D state is holding the BKL?

A process in D state sleeps and the BKL is always automatically dropped
when a process sleeps.

Bigger problems are other semaphores like inode sems, especially
when they belong to important shared libraries or directories.


-Andi

  reply	other threads:[~2001-08-10 22:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-10 21:19 Remotely rebooting a machine with state 'D' processes, how? Axel Thimm
2001-08-10 21:57 ` Brian
2001-08-10 21:59 ` Linus Torvalds
2001-08-10 22:50   ` Herbert Xu
2001-08-10 22:55     ` Andi Kleen [this message]
2001-08-10 23:05       ` Herbert Xu
2001-08-10 22:57     ` Robert Love
2001-08-10 22:58     ` Linus Torvalds
2001-08-10 23:50       ` Herbert Xu
2001-08-11  0:04         ` Mike Fedyk
2001-08-19  4:02           ` Troy Benjegerdes
2001-08-11  0:06         ` Chris Abbey
2001-08-10 22:58     ` Chris Wedgwood
2001-08-11  7:26   ` Axel Thimm
2001-08-11 11:28   ` Kai Henningsen
  -- strict thread matches above, loose matches on Subject: below --
2001-08-10 23:25 Ricardo Galli

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=k2y9orcyod.fsf@zero.aec.at \
    --to=ak@muc.de \
    --cc=herbert@gondor.apana.org.au \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.