Re: [block IO crash] Re: 2.6.39-rc5-git2 boot crashs

From: Ingo Molnar
Date: Wed May 04 2011 - 12:50:42 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> My gut reaction would be: let's do the minimal patch that just fixes things
> to do irqsafe_cpu_cmpxchg_double() for 2.6.39, and then let's remove the
> #ifdef'fery in -rc1. [...]

Looks like the sanest option IMHO, -rc7 is pretty late for anything than a
few-liner patch.

> [...] Or make _really_ sure that things are ok for platforms that never even
> triggered the CMPXCHG_LOCAL case before.

Considering that the status quo was !CMPXCHG_LOCAL in v2.6.38 and that lockless
SLUB is an x86-only affair right now:

$ git grep CMPXCHG_LOCAL arch/
arch/um/Kconfig.x86:config CMPXCHG_LOCAL
arch/x86/Kconfig.cpu:config CMPXCHG_LOCAL

There should be no problem with other architectures, right?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/