Re: Remotely rebooting a machine with state 'D' processes, how?
Linus Torvalds (email@example.com)
Fri, 10 Aug 2001 15:58:02 -0700 (PDT)
On Sat, 11 Aug 2001, Herbert Xu wrote:
> Linus Torvalds <firstname.lastname@example.org> 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?
If it's in D state, it will be sleeping, and will have released the BKL.
Besides, does the reboot system call actually get the BKL? I don't think
it should need it..
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/