Thus spake Tony Finch <[EMAIL PROTECTED]>:
> David Schultz <[EMAIL PROTECTED]> wrote:
> >
> >BSS and modified data are not shared, and Matt is only counting
> >zero fill and COW faults.
> 
> 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.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to