Messages in this thread | | | Date | Thu, 17 Jul 2008 16:12:25 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86: do not grow initial process stack so much |
| |
Denys Vlasenko wrote: > > I do not see, though, why this can be useful for x86. The pages > are not mapped anyway, so accessing them still causes page faults. > No speedup for, say, rapidly spawning processes which need ~60k > of stack right away. They will still fault in kernel, right? >
They will fault in the kernel, but only to fill the page tables, so it would cut down on latency.
I do *NOT* believe we should make this an x86-only change. If it should be architecture-dependent I'd rather find the architectures that do need it.
However, before changing this I really want to see some of the history about why it's that way in the first place.
-hpa
| |