Re: [RFC 07/16] mm/page_isolation: watch out zone range overlap

2015-02-16 Thread Joonsoo Kim
On Fri, Feb 13, 2015 at 03:40:08PM +0900, Gioh Kim wrote: > > > diff --git a/mm/page_isolation.c b/mm/page_isolation.c > > index c8778f7..883e78d 100644 > > --- a/mm/page_isolation.c > > +++ b/mm/page_isolation.c > > @@ -210,8 +210,8 @@ int undo_isolate_page_range(unsigned long start_pfn, > > uns

Re: [RFC 07/16] mm/page_isolation: watch out zone range overlap

2015-02-12 Thread Gioh Kim
> diff --git a/mm/page_isolation.c b/mm/page_isolation.c > index c8778f7..883e78d 100644 > --- a/mm/page_isolation.c > +++ b/mm/page_isolation.c > @@ -210,8 +210,8 @@ int undo_isolate_page_range(unsigned long start_pfn, > unsigned long end_pfn, >* Returns 1 if all pages in the range are isola

[RFC 07/16] mm/page_isolation: watch out zone range overlap

2015-02-11 Thread Joonsoo Kim
In the following patches, new zone, ZONE_CMA, will be introduced and it would be overlapped with other zones. Currently, many places iterating pfn range doesn't consider possibility of zone overlap and this would cause a problem such as printing wrong statistics information. To prevent this situati