Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a76d354629ea46c449705970a2c0b9e9090d6f03 Commit: a76d354629ea46c449705970a2c0b9e9090d6f03 Parent: 8ff12cfc009a2a38d87fa7058226fe197bb2696f Author: Nick Piggin <[EMAIL PROTECTED]> AuthorDate: Mon Jan 7 23:20:27 2008 -0800 Committer: Christoph Lameter <[EMAIL PROTECTED]> CommitDate: Thu Feb 7 17:47:42 2008 -0800
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 <[EMAIL PROTECTED]> Acked-by: Christoph Lameter <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- mm/slub.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index ac836d3..bccfb6a 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) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html