diff options
author | Tim Murray <timmurray@google.com> | 2019-01-08 11:01:18 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2019-01-08 13:31:57 -0800 |
commit | dad73ef232034dd0f4f46bda90c74e8727d840cc (patch) | |
tree | a8a6930da3fad04ed79054576abfbb0c3980e033 /libc/malloc_debug/malloc_debug.cpp | |
parent | c466fe95dc641d879683700aea4233ffd42bc762 (diff) |
Remove some PR_SET_VMAs during pthread_create
PR_SET_VMA takes mmap_sem, which can cause contention and reduce
performance any time many threads are created at the same time,
like app startup.
Test: camera launch performance
Bug: 122471935
Change-Id: If7fa7ad99654c01d503f694976fd92bfd30d2afd
Merged-in: If7fa7ad99654c01d503f694976fd92bfd30d2afd
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions