]> 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>
Tue, 25 Oct 2011 09:07:47 +0000 (20:07 +1100)
commit4240d900dd6e905e4269e0eef3ba63055bda2929
tree9bccdc7c83a9ed354713a763bf71e24fb9186111
parenteacd1b7729cc05711725851ad035fde13c93de27
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