diff options
author | Christoph Lameter <cl@linux.com> | 2011-05-05 15:23:54 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-05-07 20:25:38 +0300 |
commit | 1759415e630e5db0dd2390df9f94892cbfb9a8a2 (patch) | |
tree | bfae4443c70ee88c54aa9743ca19ed122af45f8f /lib/dynamic_debug.c | |
parent | 8dc16c6c04b1a82d00a8464ccc08e1fe17d0ff82 (diff) | |
download | op-kernel-dev-1759415e630e5db0dd2390df9f94892cbfb9a8a2.zip op-kernel-dev-1759415e630e5db0dd2390df9f94892cbfb9a8a2.tar.gz |
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@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions