summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2014-09-06 15:06:11 +0400
committerDavid S. Miller <davem@davemloft.net>2014-09-09 22:48:07 +0400
commite403aded79a1bfb610adc53490ded8d2058f9daf (patch)
treedd65f6d8b16bb8c64e4c1c47cf0f3cb36d5e5584 /drivers
parent5aaa62d608464bedb30afc62e5073629de505afb (diff)
downloadlinux-e403aded79a1bfb610adc53490ded8d2058f9daf.tar.xz
openvswitch: change the data type of error status to atomic_long_t
Change the date type of error status from u64 to atomic_long_t, and use atomic operation, then remove the lock which is used to protect the error status. The operation of atomic maybe faster than spin lock. Cc: Pravin Shelar <pshelar@nicira.com> Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions