Skip to content
  • Al Viro's avatar
    acct: get rid of acct_lock for acct->count · 2798d4ce
    Al Viro authored
    
    
    * 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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    2798d4ce