Date: Thu, 21 Nov 2002 12:19:19 +0000 From: Tony Finch <dot@dotat.at> To: hackers@freebsd.org Subject: Re: cvs commit: src/bin/sleep sleep.c Message-ID: <20021121121919.D16558@chiark.greenend.org.uk> In-Reply-To: <20021121020230.GA2107@HAL9000.homeunix.com>; from dschultz@uclink.berkeley.edu on Wed, Nov 20, 2002 at 06:02:30PM -0800 References: <200211170158.gAH1wJhc035731@apollo.backplane.com> <20021117034219.13731.qmail@web41201.mail.yahoo.com> <20021117034219.13731.qmail@web41201.mail.yahoo.com> <E18EbhV-0008O5-00@chiark.greenend.org.uk> <20021121020230.GA2107@HAL9000.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 20, 2002 at 06:02:30PM -0800, David Schultz wrote: > Thus spake Tony Finch <dot@dotat.at>: > > > > Most of the BSS is mmapped zero pages that are copy-on-write, so in simple > > programs they should be mostly shared. See rtld-elf/map_object.c > > Once those pages are written to, the kernel must fault in a fresh > zero-filled page. Since the BSS typically holds uninitialized > data, we can probably assume that the program is going to > initialize most of it at some point, so there will be very few > shared BSS pages. I said "simple" to mean programs that don't use very much of libc and therefore shouldn't touch very much of libc's bss. Tony. -- f.a.n.finch <dot@dotat.at> http://dotat.at/ SELSEY BILL TO LYME REGIS:SOUTH TO SOUTHEAST 6 OR 7 EASING SOUTH TO SOUTHWEST 4 OR 5 FOR A TIME THEN INCREASING SOUTH TO SOUTHWEST 5 OR 6, PERHAPS OCCASIONALLY 7. RAIN OR SHOWERS, OCCASIONALLY HEAVY. GOOD TO MODERATE. ROUGH. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121121919.D16558>