On Wed, Aug 04, 2021 at 03:35:01PM +0200, Joerg Roedel wrote: > On Wed, Aug 04, 2021 at 03:58:34PM +0300, Dan Carpenter wrote: > > Hm... Ok. Let give you the rest of the call tree then because I'm not > > seeing where it checks preempt count. > > The check is in faulthandler_disabled(), it checks for in_atomic(). > That check is later after the caller tree that I pasted as already called schedule(). regards, dan carpenter