diff options
author | John Fastabend <john.fastabend@gmail.com> | 2014-09-12 20:06:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-13 12:29:59 -0400 |
commit | c7953ef23042b7c4fc2be5ecdd216aacff6df5eb (patch) | |
tree | 56562cd7fa266516c22199c10e3acf4ab1e91669 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c8b9affec519d27ce202a7ed22617eecbd96f127 (diff) |
net: sched: cls_cgroup use RCU
Make cgroup classifier safe for RCU.
Also drops the calls in the classify routine that were doing a
rcu_read_lock()/rcu_read_unlock(). If the rcu_read_lock() isn't held
entering this routine we have issues with deleting the classifier
chain so remove the unnecessary rcu_read_lock()/rcu_read_unlock()
pair noting all paths AFAIK hold rcu_read_lock.
If there is a case where classify is called without the rcu read lock
then an rcu splat will occur and we can correct it.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions