Re: [V3] powerpc/mm/hash64: memset the pagetable pages on allocation.

2018-02-13 Thread Michael Ellerman
On Tue, 2018-02-13 at 11:09:33 UTC, "Aneesh Kumar K.V" wrote: > On powerpc we allocate page table pages from slab cache of different sizes. > For > now we have a constructor that zero out the objects when we allocate then for > the first time. We expect the objects to be zeroed out when we free

Re: [PATCH V3] powerpc/mm/hash64: memset the pagetable pages on allocation.

2018-02-13 Thread Ram Pai
On Tue, Feb 13, 2018 at 04:39:33PM +0530, Aneesh Kumar K.V wrote: > On powerpc we allocate page table pages from slab cache of different sizes. > For > now we have a constructor that zero out the objects when we allocate then for > the first time. We expect the objects to be zeroed out when we

[PATCH V3] powerpc/mm/hash64: memset the pagetable pages on allocation.

2018-02-13 Thread Aneesh Kumar K.V
On powerpc we allocate page table pages from slab cache of different sizes. For now we have a constructor that zero out the objects when we allocate then for the first time. We expect the objects to be zeroed out when we free the the object back to slab cache. This happens in the unmap path. For