From: Nigel Cunningham on
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(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/