commit | 67f252c89db4af5a7c8df9163967c06e80133ff7 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Thu Apr 13 17:07:58 2017 -0700 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Thu Apr 20 21:47:08 2017 +0000 |
tree | a22cce6b491140b2ae47e0de785e4345c7ef31ff | |
parent | 6b4bbab071da8df7a78be4514230bf1369d2b537 [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>