Re: [PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-06 Thread Vlastimil Babka
On 6.5.2015 8:28, Joonsoo Kim wrote: > On Tue, May 05, 2015 at 11:22:59AM +0800, Hui Zhu wrote: >> >> diff --git a/mm/page_isolation.c b/mm/page_isolation.c >> index 755a42c..eb22d1f 100644 >> --- a/mm/page_isolation.c >> +++ b/mm/page_isolation.c >> @@ -101,7 +101,8 @@ void unset_migratetype_isola

Re: [PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-06 Thread Hui Zhu
On Wed, May 6, 2015 at 2:28 PM, Joonsoo Kim wrote: > On Tue, May 05, 2015 at 11:22:59AM +0800, Hui Zhu wrote: >> Change pfn_present to pfn_valid_within according to the review of Laura. >> >> I got a issue: >> [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual >> address 0

Re: [PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-05 Thread Joonsoo Kim
On Tue, May 05, 2015 at 11:22:59AM +0800, Hui Zhu wrote: > Change pfn_present to pfn_valid_within according to the review of Laura. > > I got a issue: > [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual > address 082a > [ 214.303013] pgd = cc97 > [ 214.305721] [

Re: [PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-05 Thread Hui Zhu
On Wed, May 6, 2015 at 5:29 AM, Andrew Morton wrote: > On Tue, 5 May 2015 11:22:59 +0800 Hui Zhu wrote: > >> Change pfn_present to pfn_valid_within according to the review of Laura. >> >> I got a issue: >> [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual >> address

Re: [PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-05 Thread Andrew Morton
On Tue, 5 May 2015 11:22:59 +0800 Hui Zhu wrote: > Change pfn_present to pfn_valid_within according to the review of Laura. > > I got a issue: > [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual > address 082a > [ 214.303013] pgd = cc97 > [ 214.305721] [08

Re: [PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-05 Thread Vlastimil Babka
On 05/05/2015 05:22 AM, Hui Zhu wrote: Change pfn_present to pfn_valid_within according to the review of Laura. I got a issue: [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual address 082a [ 214.303013] pgd = cc97 [ 214.305721] [082a] *pgd= [ 214

[PATCH v2] CMA: page_isolation: check buddy before access it

2015-05-04 Thread Hui Zhu
Change pfn_present to pfn_valid_within according to the review of Laura. I got a issue: [ 214.294917] Unable to handle kernel NULL pointer dereference at virtual address 082a [ 214.303013] pgd = cc97 [ 214.305721] [082a] *pgd= [ 214.309316] Internal error: Oops: 5 [#1] PRE