Re: [PATCH v3 8/9] memory-hotplug: fix NR_FREE_PAGES mismatch

2012-10-19 Thread Wen Congyang
At 10/19/2012 03:41 PM, KOSAKI Motohiro Wrote: > On Fri, Oct 19, 2012 at 2:46 AM, wrote: >> From: Wen Congyang >> >> NR_FREE_PAGES will be wrong after offlining pages. We add/dec NR_FREE_PAGES >> like this now: >> 1. mova all pages in buddy system to MIGRATE_ISOLATE, and dec NR_FREE_PAGES > > m

Re: [PATCH v3 8/9] memory-hotplug: fix NR_FREE_PAGES mismatch

2012-10-19 Thread KOSAKI Motohiro
On Fri, Oct 19, 2012 at 2:46 AM, wrote: > From: Wen Congyang > > NR_FREE_PAGES will be wrong after offlining pages. We add/dec NR_FREE_PAGES > like this now: > 1. mova all pages in buddy system to MIGRATE_ISOLATE, and dec NR_FREE_PAGES move? > 2. don't add NR_FREE_PAGES when it is freed and th