thp: compound_lock
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:32 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:38 +0000 (17:32 -0800)
commite9da73d67729b58bba256123e2b4651e0d8a01ac
tree5e7f8c4d394d625f7832cbd04a8d55f9f0cd0d95
parenta826e422420b461a6247137c292ff83c4800354a
thp: compound_lock

Add a new compound_lock() needed to serialize put_page against
__split_huge_page_refcount().

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
include/linux/page-flags.h