Re: [PATCH] powerpc/mm: Fix kernel crash on page table free

2018-06-15 Thread Aneesh Kumar K.V
On 06/15/2018 03:24 AM, Christophe Leroy wrote: On 05/30/2018 12:32 PM, Aneesh Kumar K.V wrote: Fix the below crash on BookE 64. pgtable_page_dtor expects struct page *arg. Also call the destructor on non book3s platforms correctly. This free up the split ptl locks correctly if we had

Re: [PATCH] powerpc/mm: Fix kernel crash on page table free

2018-06-15 Thread Christophe Leroy
On 05/30/2018 12:32 PM, Aneesh Kumar K.V wrote: Fix the below crash on BookE 64. pgtable_page_dtor expects struct page *arg. Also call the destructor on non book3s platforms correctly. This free up the split ptl locks correctly if we had allocated them before. Call Trace: [c000f30c7520]

Re: powerpc/mm: Fix kernel crash on page table free

2018-06-01 Thread Michael Ellerman
On Wed, 2018-05-30 at 12:32:25 UTC, "Aneesh Kumar K.V" wrote: > Fix the below crash on BookE 64. pgtable_page_dtor expects struct page *arg. > > Also call the destructor on non book3s platforms correctly. This free up the > split ptl locks correctly if we had allocated them before. > > Call

[PATCH] powerpc/mm: Fix kernel crash on page table free

2018-05-30 Thread Aneesh Kumar K.V
Fix the below crash on BookE 64. pgtable_page_dtor expects struct page *arg. Also call the destructor on non book3s platforms correctly. This free up the split ptl locks correctly if we had allocated them before. Call Trace: [c000f30c7520] [c021eeec] .kmem_cache_free+0x9c/0x44c