|author||Rich Felker <email@example.com>||2014-03-23 23:19:30 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2014-03-23 23:19:30 -0400|
reduce static linking overhead from TLS support by inlining mmap syscall
the external mmap function is heavy because it has to handle error reporting that the kernel cannot do, and has to do some locking for arcane race-condition-avoidance purposes. for allocating initial TLS, we do not need any of that; the raw syscall suffices. on i386, this change shaves off 13% of the size of .text for the empty program.
Diffstat (limited to 'src/thread/pthread_setcancelstate.c')
0 files changed, 0 insertions, 0 deletions