diff options
| author | Eric Dumazet <[email protected]> | 2015-07-06 05:18:05 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-08 13:50:42 -0700 |
| commit | cef5ecf96b28dc91c4e9f398a336c578fb9e1a0c (patch) | |
| tree | 34bf7a7c6ed21b21a2c9a480df00e1e7e3335e11 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 519c818e8fb646eef1e8bfedd18519bec47bc9a9 (diff) | |
net_sched: act_gact: make tcfg_pval non zero
First step for gact RCU operation :
Instead of testing if tcfg_pval is zero or not, just make it 1.
No change in behavior, but slightly faster code.
The smp_rmb()/smp_wmb() barriers, while not strictly needed at this
stage are added for upcoming spinlock removal.
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Acked-by: John Fastabend <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions