[RFC PATCH v2 22/25] mm/page_alloc: in page_outside_zone_boundaries(), avoid premature decisions.

2013-04-11 Thread Cody P Schafer
With some code that expands the zone boundaries, VM_BUG_ON(bad_range()) was being triggered. Previously, page_outside_zone_boundaries() decided that once it detected a page outside the boundaries, it was certainly outside even if the seqlock indicated the data was invalid & needed to be reread.

[RFC PATCH v2 22/25] mm/page_alloc: in page_outside_zone_boundaries(), avoid premature decisions.

2013-04-11 Thread Cody P Schafer
With some code that expands the zone boundaries, VM_BUG_ON(bad_range()) was being triggered. Previously, page_outside_zone_boundaries() decided that once it detected a page outside the boundaries, it was certainly outside even if the seqlock indicated the data was invalid needed to be reread.