bionic/libc/arch-x86_64
Elliott Hughes 5d9a7ba0dc Avoid a system call in 'gettid'.
System calls can be pretty slow. This is mako, which has one of our
lowest latencies:

                       iterations      ns/op
  BM_unistd_getpid       10000000        209
  BM_unistd_gettid      200000000          8

Bug: 15297299 (kernel panic from too many gettid calls)
Bug: 15315766 (excessive gettid overhead in liblogd)
Change-Id: I49656c0fc5b5d092390264a59e4f2c0d8a8b1aeb
2014-06-02 10:32:55 -07:00
..
bionic Revert "Revert "Lose the hand-written futex assembler."" 2014-05-28 18:31:15 -07:00
include/machine Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
string Add 64-bit Silvermont-optimized string/memory functions. 2014-05-12 17:37:07 -07:00
syscalls Avoid a system call in 'gettid'. 2014-06-02 10:32:55 -07:00
x86_64.mk Merge "Revert "Revert "Lose the hand-written futex assembler.""" 2014-05-29 03:13:23 +00:00