On Wed, Nov 20, 2002 at 06:02:30PM -0800, David Schultz wrote:
> Thus spake Tony Finch <[EMAIL PROTECTED]>:
> > 
> > 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  <[EMAIL PROTECTED]>  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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to