Re: [PATCH 1/1] sched: panic, when call schedule with preemption disable

From: Peter Zijlstra
Date: Thu Nov 21 2019 - 07:30:55 EST


On Thu, Nov 21, 2019 at 04:13:05PM +0800, YT Chang wrote:
> When preemption is disable, call schedule() is incorrect behavior.
> Suggest to panic directly rather than depend on panic_on_warn.

Why!?