From: Nick Piggin Date: Tue, 8 Jan 2008 07:20:27 +0000 (-0800) Subject: Use non atomic unlock X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a76d354629ea46c449705970a2c0b9e9090d6f03;p=openwrt%2Fstaging%2Fblogic.git Use non atomic unlock Slub can use the non-atomic version to unlock because other flags will not get modified with the lock held. Signed-off-by: Nick Piggin Acked-by: Christoph Lameter Signed-off-by: Andrew Morton --- diff --git a/mm/slub.c b/mm/slub.c index ac836d31e3be..bccfb6a17864 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1219,7 +1219,7 @@ static __always_inline void slab_lock(struct page *page) static __always_inline void slab_unlock(struct page *page) { - bit_spin_unlock(PG_locked, &page->flags); + __bit_spin_unlock(PG_locked, &page->flags); } static __always_inline int slab_trylock(struct page *page)