Re: [question] panic() during reboot -f (reboot syscall)

From: Peter Zijlstra
Date: Wed Mar 13 2019 - 04:23:54 EST


On Tue, Mar 12, 2019 at 04:29:25PM -0500, Eric W. Biederman wrote:
> I wonder if there is an easy way to get the scheduler to not schedule
> userspace processes once the reboot system call has started. That
> sounds like the simple way to avoid this kind of confusion.

That sounds like adding code to a hotpath that is 'never' used.