[PATCH V4] powerpc: thp: Fix crash on mremap

2014-01-12 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" This patch fix the below crash NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 LR [c00439ac] .hash_page+0x18c/0x5e0 ... Call Trace: [c00736103c40] [1b00] 0x1b00(unreliable) [437908.479693] [c00736103d50] [c00439ac] .hash_pa

Re: [PATCH V4] powerpc: thp: Fix crash on mremap

2014-01-12 Thread Benjamin Herrenschmidt
On Mon, 2014-01-13 at 11:34 +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This patch fix the below crash Andrea, can you ack the generic bit please ? Thanks ! Cheers, Ben. > NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 > LR [c00439ac] .hash_page+0x18c/0x5e0 > ..

Re: [PATCH V4] powerpc: thp: Fix crash on mremap

2014-01-13 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Mon, 2014-01-13 at 11:34 +0530, Aneesh Kumar K.V wrote: >> From: "Aneesh Kumar K.V" >> >> This patch fix the below crash > > Andrea, can you ack the generic bit please ? > > Thanks ! Kirill A. Shutemov did ack an earlier version http://article.gmane.org/gma

Re: [PATCH V4] powerpc: thp: Fix crash on mremap

2014-01-13 Thread Benjamin Herrenschmidt
On Mon, 2014-01-13 at 15:16 +0530, Aneesh Kumar K.V wrote: > Benjamin Herrenschmidt writes: > > > On Mon, 2014-01-13 at 11:34 +0530, Aneesh Kumar K.V wrote: > >> From: "Aneesh Kumar K.V" > >> > >> This patch fix the below crash > > > > Andrea, can you ack the generic bit please ? > > > > Thanks

Re: [PATCH V4] powerpc: thp: Fix crash on mremap

2014-01-13 Thread Kirill A. Shutemov
On Mon, Jan 13, 2014 at 11:34:24AM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This patch fix the below crash > > NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 > LR [c00439ac] .hash_page+0x18c/0x5e0 > ... > Call Trace: > [c00736103c40] [1b00] 0x1ff