diff options
author | Christoph Lameter <cl@linux.com> | 2011-06-01 12:25:53 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-07-02 13:26:55 +0300 |
commit | 881db7fb03a77af0bcd460fd1de1f4062d5c18fe (patch) | |
tree | 281c07cf45aabd44962dbceed4efb1a86492115d /tools/perf/scripts/python/netdev-times.py | |
parent | 2cfb7455d223ab24b23df44be430faf92e12390f (diff) |
slub: Invert locking and avoid slab lock
Locking slabs is no longer necesary if the arch supports cmpxchg operations
and if no debuggin features are used on a slab. If the arch does not support
cmpxchg then we fallback to use the slab lock to do a cmpxchg like operation.
The patch also changes the lock order. Slab locks are subsumed to the node lock
now. With that approach slab_trylocking is no longer necessary.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions