From: Christoph Lameter Date: Wed, 1 Jun 2011 17:25:53 +0000 (-0500) Subject: slub: Invert locking and avoid slab lock X-Git-Tag: v3.1-rc1~114^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=881db7fb03a77af0bcd460fd1de1f4062d5c18fe;p=pandora-kernel.git 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 Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed