[lkml]   [2005]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: process creation time increases linearly with shmem
Rik van Riel wrote:
> On Thu, 25 Aug 2005, Nick Piggin wrote:
>>fork() can be changed so as not to set up page tables for
>>MAP_SHARED mappings. I think that has other tradeoffs like
>>initially causing several unavoidable faults reading
>>libraries and program text.
> Actually, libraries and program text are usually mapped
> MAP_PRIVATE, so those would still be copied.

Yep, that seems to be the case here.

> Skipping MAP_SHARED in fork() sounds like a good idea to me...

Indeed. Linus, can you remember why we haven't done this before?

SUSE Labs, Novell Inc.

Send instant messages to your online friends

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-26 03:30    [W:0.054 / U:8.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site