Re: d57108d4f6 ("watchdog/core: Get rid of the thread .."): BUG: unable to handle kernel NULL pointer dereference at 0000000000000208
From: Linus Torvalds
Date: Sat Sep 16 2017 - 14:23:57 EST
On Sat, Sep 16, 2017 at 11:12 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>> So I suspect your perf fix is the right one, and maybe we could/should
>> just make people more aware of the empty cpumask issue with UP.
> Right, I just got a bit frightened as I really was not aware about that
> 'opmtimization' which means that so far I just was lucky not to trip over
Yeah. I can't say that I was really aware of it either in a every-day
kind of way, it was only when I looked it up that I went "Oh, right,
that's what we did".
So it's subtle and unexpected, and the saving grace is basically that
empty cpumasks are really the exception to begin with. They basically
don't happen in normal situations.