[PATCH] mm: Ensure that pfn_valid is called once per pageblock whenreserving pageblocks

From: Michal Hocko
Date: Thu Dec 01 2011 - 05:29:09 EST


Hi,
the patch bellow fixes a crash during boot (when we set up reserved
page blocks) if zone start_pfn is not block aligned. The issue has
been introduced in 3.0-rc1 by 6d3163ce: mm: check if any page in a
pageblock is reserved before marking it MIGRATE_RESERVE.

I think this is 3.2 and stable material.
---