Re: Remotely rebooting a machine with state 'D' processes, how?

Robert Love (rml@tech9.net)
10 Aug 2001 18:57:54 -0400


On 11 Aug 2001 08:50:35 +1000, Herbert Xu wrote:
> 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?

the kernel should not sleep when it is holding the BKL (or any
semaphore).

-- 
Robert M. Love
rml at ufl.edu
rml at tech9.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/