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

From: Theodore Tso
Date: Sat Jun 05 2010 - 09:00:08 EST



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/

- Ted

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