Re: bio linked list corruption.

From: Linus Torvalds
Date: Mon Dec 05 2016 - 13:25:58 EST


On Mon, Dec 5, 2016 at 10:11 AM, Andy Lutomirski <luto@xxxxxxxxxx> wrote:
>
> So your kernel has been smp-alternatived. That 3e comes from
> alternatives_smp_unlock. If you're running on SMP with UP
> alternatives, things will break.

I'm assuming he's just running in a VM with a single CPU.

The problem that I pointed out with assuming wake_up_all() actually
removes all wait queue entries does not depend on SMP. The race is
much more fundamental and long-lived.

Linus