Re: [RFT PATCH v1 0/5] fix up inaccurate zone->present_pages

From: Chris Clayton
Date: Mon Nov 26 2012 - 04:46:01 EST




On 11/22/12 09:23, Chris Clayton wrote:
This patchset has only been tested on x86_64 with nobootmem.c. So need
help to test this patchset on machines:
1) use bootmem.c
2) have highmem

This patchset applies to "f4a75d2e Linux 3.7-rc6" from
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


I've applied the five patches to Linus' 3.7.0-rc6 and can confirm that
the kernel allows my system to resume from a suspend to disc. Although
my laptop is 64 bit, I run a 32 bit kernel with HIGHMEM (I have 8GB RAM):

[chris:~/kernel/tmp/linux-3.7-rc6-resume]$ grep -E HIGHMEM\|X86_32
.config
CONFIG_X86_32=y
CONFIG_X86_32_SMP=y
CONFIG_X86_32_LAZY_GS=y
# CONFIG_X86_32_IRIS is not set
# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_HIGHMEM=y

I can also say that a quick browse of the output of dmesg, shows nothing
out of the ordinary. I have insufficient knowledge to comment on the
patches, but I will run the kernel over the next few days and report
back later in the week.


Well, I've been running the kernel since Sunday and have had no problems
with my normal work mix of browsing, browsing the internet, video
editing, listening to music and building software. I'm now running a
kernel that build with the new patches 1 and 4 from yesterday (plus the
original 1, 2 and 5). All seems OK so far, including a couple of resumes
from suspend to disk.



-rc6 with Gerry's patches has run fine, including numerous resumes from suspend to disk, which fails (freezing or rebooting) without the patches. I've now applied the patches to -rc7 (they apply with a few offsets, but look OK) and will run that for a day or two.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/