lkml.org 
[lkml]   [2008]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-07-18 01:15    [W:0.053 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site