diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2006-10-20 00:32:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-10-20 00:32:41 -0700 |
commit | 58f539740b1ccfc5ef4e509ec2efe82621b546e3 (patch) | |
tree | f0e24b555808ce919528a0c5950e188768e97f23 /Documentation/exception.txt | |
parent | 78d79423179c0efc7ec34b55d287e7be4ca07da6 (diff) |
[NET]: Can use __get_cpu_var() instead of per_cpu() in loopback driver.
As BHs are off in loopback_xmit(), preemption cannot occurs, so we can
use __get_cpu_var() instead of per_cpu() (and avoid a
preempt_enable()/preempt_disable() pair)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/exception.txt')
0 files changed, 0 insertions, 0 deletions