powerpc/mm/book(e)(3s)/32: Add page table accounting
authorBalbir Singh <bsingharora@gmail.com>
Tue, 2 May 2017 05:17:05 +0000 (15:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Jun 2017 09:03:11 +0000 (19:03 +1000)
commitabd667be1502f92a9c98404ad3f2e52ea13724f2
tree3689883cab852ff19261e9449037da06370b8642
parentde3b87611dd1f3c00f4e42fe298457260ea781e0
powerpc/mm/book(e)(3s)/32: Add page table accounting

Add support in pte_alloc_one() and pgd_alloc() by
passing __GFP_ACCOUNT in the flags

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/nohash/32/pgalloc.h
arch/powerpc/mm/pgtable_32.c