diff options
author | Jin Qian <jinqian@google.com> | 2017-04-13 17:07:58 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2017-04-20 21:43:34 +0000 |
commit | ebff0104446a71da950709b94cd2d8d2c10c73be (patch) | |
tree | 25401119e78a98cd958fc078d7fa8d91190882cb /fs | |
parent | c0fb2f9e5814e4cf8d6e64c00bdacdbf1668ab62 (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 'fs')
0 files changed, 0 insertions, 0 deletions