]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc: gup_pte_range() support THP based tail recounting
authorAndrea Arcangeli <aarcange@redhat.com>
Mon, 24 Oct 2011 14:54:24 +0000 (01:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 Nov 2011 04:59:11 +0000 (15:59 +1100)
commit386a99899304cbd0e4c734e878d45c22f74897a5
tree4c48e27253a8aa77cb875d3d0587cbe6641771fe
parentc3588da8b4a5fa0536645b6c2d41dee469365702
sparc: gup_pte_range() 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>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/mm/gup.c