reorganize the __libc structure for threaded performance issues
authorRich Felker <dalias@aerifal.cx>
Sat, 2 Apr 2011 02:35:20 +0000 (22:35 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Apr 2011 02:35:20 +0000 (22:35 -0400)
commit952987a0cb9b1973fdf23e05f8ddc6fe3c98fd68
tree20888e580084e33ecfd132d598dbcfddda65630f
parent4ae5e811f8d291a0df1418e1aae583161c142952
reorganize the __libc structure for threaded performance issues

we want to keep atomically updated fields (locks and thread count) and
really anything writable far away from frequently-needed function
pointers. stuff some rarely-needed function pointers in between to
pad, hopefully up to a cache line boundary.
src/internal/libc.h