]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf51807e895f5b4b7c1dfbc1e7b85501c54d6cd47
tree3689883cab852ff19261e9449037da06370b8642
parent8eb32052b391f7569b8d2ec94c07464380294446
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