diff options
author | Al Viro | 2014-08-07 13:04:28 +0200 |
---|---|---|
committer | Al Viro | 2014-08-07 20:40:08 +0200 |
commit | 2798d4ce61601808b965253d60624bbf201b51b0 (patch) | |
tree | e938df0fd8040a69da38a277c753aac42272c292 /fs/super.c | |
parent | acct: get rid of acct_list (diff) | |
download | kernel-qcow2-linux-2798d4ce61601808b965253d60624bbf201b51b0.tar.gz kernel-qcow2-linux-2798d4ce61601808b965253d60624bbf201b51b0.tar.xz kernel-qcow2-linux-2798d4ce61601808b965253d60624bbf201b51b0.zip |
acct: get rid of acct_lock for acct->count
* make acct->count atomic and acct freeing - rcu-delayed.
* instead of grabbing acct_lock around the places where we take a reference,
do that under rcu_read_lock() with atomic_long_inc_not_zero().
* have the new acct locked before making ns->bacct point to it
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions