]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: gup_hugepte() avoid to free the head page too many times
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)
commiteacd1b7729cc05711725851ad035fde13c93de27
tree5c2ffe73af62674a62e27db57d8dc4d6ecb0f70c
parent590a9d07ffbfc81dec9e179b22e3f96b05c14e84
powerpc: gup_hugepte() avoid to free the head page too many times

We only taken "refs" pins on the head page not "*nr" pins.

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