X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgoldfish%2Fpatches-2.6.30%2F0056-mm-Check-if-any-page-in-a-pageblock-is-reserved-bef.patch;h=ce1fb71eacd002a1c262f10f22a7d13a8554bfb7;hp=63a9bcd4925f64b2381c2d1d9efeab1dcaac89d4;hb=8f54e709747e711460f8a49acdcf86841920db8b;hpb=2d581e604771771dd63946cbed17d6b7ec79bd9d diff --git a/target/linux/goldfish/patches-2.6.30/0056-mm-Check-if-any-page-in-a-pageblock-is-reserved-bef.patch b/target/linux/goldfish/patches-2.6.30/0056-mm-Check-if-any-page-in-a-pageblock-is-reserved-bef.patch index 63a9bcd492..ce1fb71eac 100644 --- a/target/linux/goldfish/patches-2.6.30/0056-mm-Check-if-any-page-in-a-pageblock-is-reserved-bef.patch +++ b/target/linux/goldfish/patches-2.6.30/0056-mm-Check-if-any-page-in-a-pageblock-is-reserved-bef.patch @@ -13,7 +13,7 @@ contiguous memory. --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -2545,6 +2545,20 @@ static inline unsigned long wait_table_b +@@ -2570,6 +2570,20 @@ static inline unsigned long wait_table_b #define LONG_ALIGN(x) (((x)+(sizeof(long))-1)&~((sizeof(long))-1)) /* @@ -34,7 +34,7 @@ contiguous memory. * Mark a number of pageblocks as MIGRATE_RESERVE. The number * of blocks reserved is based on zone->pages_min. The memory within the * reserve will tend to store contiguous free pages. Setting min_free_kbytes -@@ -2573,7 +2587,7 @@ static void setup_zone_migrate_reserve(s +@@ -2598,7 +2612,7 @@ static void setup_zone_migrate_reserve(s continue; /* Blocks with reserved pages will never free, skip them. */