https://bugzilla.novell.com/show_bug.cgi?id=730731
https://bugzilla.novell.com/show_bug.cgi?id=730731#c15
--- Comment #15 from Grigory Milev 2011-12-01 18:26:25 UTC ---
The nex patch work fine, grate fancs to you.
Index: linux-3.0-SLE11-SP2/mm/page_alloc.c
===================================================================
--- linux-3.0-SLE11-SP2.orig/mm/page_alloc.c
+++ linux-3.0-SLE11-SP2/mm/page_alloc.c
@@ -3398,9 +3398,15 @@ static void setup_zone_migrate_reserve(s
unsigned long block_migratetype;
int reserve;
- /* Get the start pfn, end pfn and the number of blocks to reserve */
+ /*
+ * Get the start pfn, end pfn and the number of blocks to reserve
+ * We have to be careful to be aligned to pageblock_nr_pages to
+ * make sure that we always check pfn_valid for the first page in
+ * the block.
+ */
start_pfn = zone->zone_start_pfn;
end_pfn = start_pfn + zone->spanned_pages;
+ start_pfn = roundup(start_pfn, pageblock_nr_pages);
reserve = roundup(min_wmark_pages(zone), pageblock_nr_pages) >>
pageblock_order;
Is you need dmesg, or not in this fine situation?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.