Re: [TuxOnIce-devel] [SUSPECTED SPAM] Re: [linux-pm] Proposal fora new algorithm for reading & writing a hibernation image.

From: Nigel Cunningham
Date: Sat Jun 05 2010 - 19:01:52 EST


Hi.

On 05/06/10 22:59, Theodore Tso wrote:

On Jun 4, 2010, at 8:05 PM, Nigel Cunningham wrote:
2mb pages will probably present a problem, as will bat mappings on powerpc.

I have the idea that 2MB pages are only used for the kernel text and read only data. Is that right? If so, perhaps they can just be unconditionally copied (so that we can restore the image if a different kernel is booted) and wouldn't need any page protection. Does that sound right?

No, hugepages are available for use by userspace programs.

See: https://lwn.net/Articles/374424/

Ta!

I'll take a look.

Nigel
--
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/