summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-07-06 05:18:05 -0700
committerDavid S. Miller <davem@davemloft.net>2015-07-08 13:50:42 -0700
commitcef5ecf96b28dc91c4e9f398a336c578fb9e1a0c (patch)
tree34bf7a7c6ed21b21a2c9a480df00e1e7e3335e11 /lib
parent519c818e8fb646eef1e8bfedd18519bec47bc9a9 (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 <edumazet@google.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions