The dynamic linker memset(0)ing .bss causes an extra pagefault due to the
kernel's COW. For firefox 10% of our cold startup page faults are caused by
memset(0)ing .bss once for every library.

One could stick prelink data, .gnu.* metadata, etc infront of .bss to minimize
executable bloat.

-- 
           Summary: Add an option to page-align .bss
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: tglek at mozilla dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11618

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to