]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc: gup_hugepte() avoid freeing the head page too many times
authorAndrea Arcangeli <aarcange@redhat.com>
Wed, 2 Nov 2011 20:37:11 +0000 (13:37 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:08 +0000 (11:18 -0800)
commit951a9de537133f8b4910b3286ee64feda438e099
tree63d8c29516e6d65fd7985fb5db9010282031e8d5
parentb42f59649c17016711ad802fe8e3e837359dd5d4
powerpc: gup_hugepte() avoid freeing the head page too many times

commit 8596468487e2062cae2aad56e973784e03959245 upstream.

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>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/mm/hugetlbpage.c