Message ID | 20170815034636.29898-1-bsingharora@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5b6c133e0801007117cf4a466cb56de86e186138 |
Headers | show |
On Tue, 2017-08-15 at 03:46:36 UTC, Balbir Singh wrote: > fixes > (de3b876 powerpc/mm/book(e)(3s)/64: Add page table accounting) > > I missed adding PGALLOC_GFP for nohash/64 > > Reported-by: Michael Ellerman <mpe@ellerman.id.au> > Signed-off-by: Balbir Singh <bsingharora@gmail.com> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5b6c133e0801007117cf4a466cb56d cheers
diff --git a/arch/powerpc/include/asm/nohash/64/pgalloc.h b/arch/powerpc/include/asm/nohash/64/pgalloc.h index 9721c78..ce1d34e 100644 --- a/arch/powerpc/include/asm/nohash/64/pgalloc.h +++ b/arch/powerpc/include/asm/nohash/64/pgalloc.h @@ -41,6 +41,8 @@ extern struct kmem_cache *pgtable_cache[]; pgtable_cache[(shift) - 1]; \ }) +#define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO) + static inline pgd_t *pgd_alloc(struct mm_struct *mm) { return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE),
fixes (de3b876 powerpc/mm/book(e)(3s)/64: Add page table accounting) I missed adding PGALLOC_GFP for nohash/64 Reported-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Balbir Singh <bsingharora@gmail.com> --- arch/powerpc/include/asm/nohash/64/pgalloc.h | 2 ++ 1 file changed, 2 insertions(+)