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

From: Pekka Enberg
Date: Wed May 04 2011 - 11:42:01 EST


On Wed, 4 May 2011, Christoph Lameter wrote:
Subject: slub: Remove CONFIG_CMPXCHG_LOCAL ifdeffery

Remove the #ifdefs. This means that the irqsafe_cpu_cmpxchg_double() is used
everywhere.

There may be performance implications since:

A. We now have to manage a transaction ID for all arches

B. The interrupt holdoff for arches not supporting CONFIG_CMPXCHG_LOCAL is reduced
to a very short irqoff section.

There are no multiple irqoff/irqon sequences as a result of this change. Even in the fallback
case we only have to do one disable and enable like before.

Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

This doesn't apply cleanly on top of slab/next which has some of your cleanup patches applied. There's some CONFIG_PREEMPT conflicts so I'd rather you rediffed it yourself.

Pekka
--
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/