]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: fdb: write to used and updated at most once per jiffy
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Sat, 4 Feb 2017 17:05:09 +0000 (18:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 03:53:13 +0000 (22:53 -0500)
commitd31724d4707311b1382005c87947379e690f1288
tree9582a827ce818aba63b5bb5f0f7a3d1e9f992cf9
parentb4043dc92436774c4bd15136c6a9f6c5d193fb8b
bridge: fdb: write to used and updated at most once per jiffy

Writing once per jiffy is enough to limit the bridge's false sharing.
After this change the bridge doesn't show up in the local load HitM stats.

Suggested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_input.c