commit | 10bdfb5ef7e1a429a3de31e498942a8ae5749a46 | [log] [tgz] |
---|---|---|
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | Thu Mar 29 13:58:17 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Mar 29 14:06:43 2012 -0700 |
tree | 2bda472ac8825a0616ca8632fdc5623f4f8bb0fe | |
parent | 8da00edc1069f01c34510fa405dc15d96c090a3f [diff] |
pagemap: remove remaining unneeded spin_lock() Commit 025c5b2451e4 ("thp: optimize away unnecessary page table locking") moves spin_lock() into pmd_trans_huge_lock() in order to avoid locking unless pmd is for thp. So this spin_lock() is a bug. Reported-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>