]> git.karo-electronics.de Git - mv-sheeva.git/commit
thp: put_page: recheck PageHead after releasing the compound_lock
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:33 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:39 +0000 (17:32 -0800)
commita95a82e96c48270980dd248ccd5546f1b49e6f8a
tree35f10c2a8d2cd0e1aa9d33f7a4f55332c0733ee6
parent9180706344487700b40da9eca5dedd3d11cb33b4
thp: put_page: recheck PageHead after releasing the compound_lock

After releasing the compound_lock split_huge_page can still run and release the
page before put_page_testzero runs.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swap.c