bionic/libc/arch-x86
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
..
atom Add 32-bit Silvermont-optimized string/memory functions. 2014-05-12 13:56:59 -07:00
bionic x86: stop unwinding past __bionic_clone. 2014-05-30 11:15:32 -07:00
generic Add 32-bit Silvermont-optimized string/memory functions. 2014-05-12 13:56:59 -07:00
include/machine Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
silvermont Add 32-bit Silvermont-optimized string/memory functions. 2014-05-12 13:56:59 -07:00
syscalls Avoid a system call in 'gettid'. 2014-06-02 10:32:55 -07:00
x86.mk Merge "Revert "Revert "Lose the hand-written futex assembler.""" 2014-05-29 03:13:23 +00:00