diff options
| author | Jin Qian <jinqian@google.com> | 2017-04-13 17:07:58 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-24 20:45:53 +0200 |
| commit | 7adc6aada90848ce86fe4fe80e9bf9a26427dfff (patch) | |
| tree | ea3a525de4d5691d1d71fd29f842f212eb4c7d39 /scripts | |
| parent | 1d6df6743980dbf160b7d8a74af73762f062a493 (diff) | |
ANDROID: uid_sys_stats: reduce update_io_stats overhead
Replaced read_lock with rcu_read_lock to reduce time that preemption
is disabled.
Added a function to update io stats for specific uid and moved
hash table lookup, user_namespace out of loops.
Bug: 37319300
Change-Id: I2b81b5cd3b6399b40d08c3c14b42cad044556970
Signed-off-by: Jin Qian <jinqian@google.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
