Re: [PATCH] page_alloc: fix the incorrect adjustment to zone->present_pages

2012-10-26 Thread Dave Hansen
On 10/26/2012 02:59 AM, Lai Jiangshan wrote: > Current free_area_init_core() has incorrect adjustment code to adjust > ->present_pages. It will cause ->present_pages overflow, make the > system unusable(can't create any process/thread in our test) and cause > further problem. > > Details: > 1) So

[PATCH] page_alloc: fix the incorrect adjustment to zone->present_pages

2012-10-26 Thread Lai Jiangshan
Current free_area_init_core() has incorrect adjustment code to adjust ->present_pages. It will cause ->present_pages overflow, make the system unusable(can't create any process/thread in our test) and cause further problem. Details: 1) Some/many ZONEs don't have memory which is used by memmap.