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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/