The patch titled swsusp-add-architecture-special-saveable-pages fix has been added to the -mm tree. Its filename is swsusp-x86_64-mark-special-saveable-unsaveable-pages-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Shaohua Li <shaohua.li@xxxxxxxxx> Architecture special saveable memory might not be aligned to PAGE_SIZE. We should just save part of a page in the unaligned case. We changed swsusp_add_arch_pages to accept an 'address' instead of a 'pfn'. Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx> Cc: Pavel Machek <pavel@xxxxxx> Cc: "Rafael J. Wysocki" <rjw@xxxxxxx> Cc: Nigel Cunningham <nigel@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/x86_64/kernel/setup.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff -puN arch/x86_64/kernel/setup.c~swsusp-x86_64-mark-special-saveable-unsaveable-pages-fix arch/x86_64/kernel/setup.c --- devel/arch/x86_64/kernel/setup.c~swsusp-x86_64-mark-special-saveable-unsaveable-pages-fix 2006-04-20 01:10:46.000000000 -0700 +++ devel-akpm/arch/x86_64/kernel/setup.c 2006-04-20 01:10:46.000000000 -0700 @@ -564,8 +564,8 @@ static void __init e820_save_acpi_pages( struct e820entry *ei = &e820.map[i]; unsigned long start, end; - start = round_down(ei->addr, PAGE_SIZE) >> PAGE_SHIFT; - end = round_up(ei->addr + ei->size, PAGE_SIZE) >> PAGE_SHIFT; + start = ei->addr, PAGE_SIZE; + end = ei->addr + ei->size; if (start >= end) continue; if (ei->type != E820_ACPI && ei->type != E820_NVS) @@ -574,10 +574,10 @@ static void __init e820_save_acpi_pages( * If the region is below end_pfn, it will be * saved/restored by swsusp follow 'RAM' type. */ - if (start < end_pfn) - start = end_pfn; + if (start < (end_pfn << PAGE_SHIFT)) + start = end_pfn << PAGE_SHIFT; if (end > start) - swsusp_add_arch_pages(start, end - 1); + swsusp_add_arch_pages(start, end); } } _ Patches currently in -mm which might be from shaohua.li@xxxxxxxxx are git-acpi.patch x86-cpu_init-avoid-gfp_kernel-allocation-while-atomic.patch swsusp-add-architecture-special-saveable-pages-support.patch swsusp-add-architecture-special-saveable-pages-fix.patch swsusp-i386-mark-special-saveable-unsaveable-pages.patch swsusp-i386-mark-special-saveable-unsaveable-pages-fix.patch swsusp-x86_64-mark-special-saveable-unsaveable-pages.patch swsusp-x86_64-mark-special-saveable-unsaveable-pages-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html