Re: [RFC 2/2] x86_64, mm: Reinsert the absent memory

From: H. Peter Anvin
Date: Mon Jun 24 2013 - 16:08:43 EST


On 06/24/2013 12:39 PM, Ingo Molnar wrote:
>
> That might be a bit too granular: if we hit such an uninitialized block of
> memory we'd have to process 262,144 pages - potentially from an IRQ
> handler that does GFP_ATOMIC... or other latency critical code.
>
> With 2MB we'd have to on-demand initialize 512 pages, which shouldn't show
> up during normal use.
>

No... you split the gigabyte page into 511 2M pages and 512 4K pages.

-hpa


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