Re: [PATCH V2] mm: fix kernel crash in khugepaged thread

2015-11-11 Thread yalin wang
Ok i will send a V3 patch. > On Nov 5, 2015, at 16:50, Kirill A. Shutemov wrote: > > On Thu, Nov 05, 2015 at 09:12:34AM +0100, Vlastimil Babka wrote: >> On 10/29/2015 01:35 AM, Kirill A. Shutemov wrote: @@ -2605,9 +2603,9 @@ out_unmap: /* collapse_huge_page will return with t

Re: [PATCH V2] mm: fix kernel crash in khugepaged thread

2015-11-05 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 09:12:34AM +0100, Vlastimil Babka wrote: > On 10/29/2015 01:35 AM, Kirill A. Shutemov wrote: > >> @@ -2605,9 +2603,9 @@ out_unmap: > >>/* collapse_huge_page will return with the mmap_sem released */ > >>collapse_huge_page(mm, address, hpage, vma, node

Re: [PATCH V2] mm: fix kernel crash in khugepaged thread

2015-11-05 Thread Vlastimil Babka
On 10/29/2015 01:35 AM, Kirill A. Shutemov wrote: > On Mon, Oct 26, 2015 at 06:39:20PM +0800, yalin wang wrote: >> This crash is caused by NULL pointer deference, in page_to_pfn() marco, >> when page == NULL : >> >> [ 182.639154 ] Unable to handle kernel NULL pointer dereference at virtual >> ad

Re: [PATCH V2] mm: fix kernel crash in khugepaged thread

2015-10-28 Thread Kirill A. Shutemov
On Mon, Oct 26, 2015 at 06:39:20PM +0800, yalin wang wrote: > This crash is caused by NULL pointer deference, in page_to_pfn() marco, > when page == NULL : > > [ 182.639154 ] Unable to handle kernel NULL pointer dereference at virtual > address > [ 182.639491 ] pgd = ffc00077a000 >

[PATCH V2] mm: fix kernel crash in khugepaged thread

2015-10-26 Thread yalin wang
This crash is caused by NULL pointer deference, in page_to_pfn() marco, when page == NULL : [ 182.639154 ] Unable to handle kernel NULL pointer dereference at virtual address [ 182.639491 ] pgd = ffc00077a000 [ 182.639761 ] [] *pgd=b9422003, *pud=b9422003,