Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a76d3546 authored by Nick Piggin's avatar Nick Piggin Committed by Christoph Lameter
Browse files

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: default avatarNick Piggin <npiggin@suse.de>
Acked-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 8ff12cfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)