commit | fb1843ee72c7b2ed784bf88ad79c6ccc2f652499 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Oct 05 12:35:15 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 06 01:04:15 2014 -0400 |
tree | 139741643875150cd8cc289b92790b63dcd73f3c | |
parent | 29d40c903247596c954446639116467eb6689bb7 [diff] |
net/mlx4_en: Avoid false sharing in mlx4_en_en_process_tx_cq() mlx4_en_process_tx_cq() carefully fetches and writes ring->last_nr_txbb and ring->cons only one time to avoid false sharing Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>