bionic/libc/arch-mips/syscalls
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
..
__accept4.S Mark sockets on creation (socket()) and accept4(). 2014-05-19 15:19:16 -07:00
__brk.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__connect.S Introduce netd_client, a dynamic library that talks to netd. 2014-05-13 11:30:03 -07:00
__epoll_pwait.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__exit.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__fcntl64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__fstatfs64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__getcpu.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__getcwd.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__getpriority.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__ioctl.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__llseek.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__mmap2.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__openat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__ppoll.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__pselect6.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__ptrace.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__reboot.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__rt_sigaction.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__rt_sigpending.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__rt_sigprocmask.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__rt_sigsuspend.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__rt_sigtimedwait.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__sched_getaffinity.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__set_tid_address.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__set_tls.S Remove the useless indirection in mips' __set_tls. 2014-05-12 16:11:06 -07:00
__sigaction.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__signalfd4.S Hide __signalfd4, used to implement signalfd(3). 2014-05-16 15:47:29 -07:00
__socket.S Mark sockets on creation (socket()) and accept4(). 2014-05-19 15:19:16 -07:00
__statfs64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__timer_create.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__timer_delete.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__timer_getoverrun.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__timer_gettime.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__timer_settime.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
__waitid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
_exit.S Implement _Exit(3). 2014-04-08 17:16:13 -07:00
_flush_cache.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
acct.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
bind.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
capget.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
capset.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
chdir.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
chroot.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
clock_getres.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
clock_gettime.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
clock_nanosleep.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
clock_settime.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
close.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
delete_module.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
dup3.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
dup.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
epoll_create1.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
epoll_ctl.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
eventfd.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
execve.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
faccessat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fallocate64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fchdir.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fchmod.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fchmodat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fchown.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fchownat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fdatasync.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fgetxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
flistxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
flock.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fremovexattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fsetxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fstat64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fstatat64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
fsync.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
ftruncate64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
ftruncate.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getdents.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getegid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
geteuid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getgid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getgroups.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getitimer.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getpeername.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getpgid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getpid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getppid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getresgid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getresuid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getrlimit.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getrusage.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getsid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getsockname.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getsockopt.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
gettimeofday.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getuid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
getxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
init_module.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
inotify_add_watch.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
inotify_init1.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
inotify_rm_watch.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
ioprio_get.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
ioprio_set.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
kill.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
klogctl.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
lgetxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
linkat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
listen.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
listxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
llistxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
lremovexattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
lseek.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
lsetxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
madvise.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mincore.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mkdirat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mknodat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mlock.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mlockall.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mount.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mprotect.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
mremap.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
msync.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
munlock.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
munlockall.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
munmap.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
nanosleep.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
personality.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
pipe2.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
prctl.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
pread64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
prlimit64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
pwrite64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
read.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
readahead.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
readlinkat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
readv.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
recvfrom.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
recvmmsg.S Add recvmmsg and sendmmsg syscalls. 2014-02-27 14:29:01 -08:00
recvmsg.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
removexattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
renameat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_get_priority_max.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_get_priority_min.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_getparam.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_getscheduler.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_rr_get_interval.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_setaffinity.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_setparam.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_setscheduler.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sched_yield.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sendfile64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sendfile.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sendmmsg.S Add recvmmsg and sendmmsg syscalls. 2014-02-27 14:29:01 -08:00
sendmsg.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sendto.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setgid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setgroups.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setitimer.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setns.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setpgid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setpriority.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setregid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setresgid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setresuid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setreuid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setrlimit.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setsid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setsockopt.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
settimeofday.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setuid.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
setxattr.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
shutdown.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sigaltstack.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
socketpair.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
swapoff.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
swapon.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
symlinkat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sync.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
sysinfo.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
tgkill.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
timerfd_create.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
timerfd_gettime.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
timerfd_settime.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
times.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
truncate64.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
truncate.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
umask.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
umount2.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
uname.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
unlinkat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
unshare.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
utimensat.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
wait4.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
write.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00
writev.S Make mips/mips64 syscall stubs more like the other architectures. 2014-02-19 14:54:31 -08:00