Re: Why preallocate pmd in x86 32-bit PAE?

From: Andi Kleen
Date: Fri Nov 16 2007 - 10:53:36 EST


On Friday 16 November 2007 16:45:16 H. Peter Anvin wrote:
> Andi Kleen wrote:
> >> I think Jeremy's question was due to trying to reduce the 32/64-bit
> >> differences. Performance-wise, it might add a small amount to user
> >> setup time (a typical 32-bit process will need all four, for the main
> >> binary, libraries, stack and kernel, respectively)
> >
> > With the new top down mmap layout and standard 3:1 split it should typically
> > only need two.
> >
>
> Well, three with the kernel.

I didn't count kernel because it is always fixed anyways and about zero
overhead for the normal setup case.

-Andi

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