]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: gup_hugepte() support THP based tail recounting
authorAndrea Arcangeli <aarcange@redhat.com>
Mon, 24 Oct 2011 14:54:22 +0000 (01:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 Nov 2011 04:59:10 +0000 (15:59 +1100)
commitd571e32f06a55a5455d5836fb2c49629ce56d2fd
treecd2a4bed71f9d045e09cc661badd2d75537d7eb2
parente5e2c5ab51901b4540b0edc0dca5636e9cfb5cae
powerpc: gup_hugepte() support THP based tail recounting

Up to this point the code assumed old refcounting for hugepages (pre-thp).
This updates the code directly to the thp mapcount tail page refcounting.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/mm/hugetlbpage.c