summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py
diff options
context:
space:
mode:
authorDuncan Eastoe <duncan.eastoe@att.com>2020-12-18 14:35:21 +0000
committerDuncan Eastoe <duncan.eastoe@att.com>2020-12-18 15:37:13 +0000
commit438dd3e7df9f393a3b66ffffa389f93b0592cd2d (patch)
treedc8b5295472a61c0d5b4d32633a81b587dbaf13a /tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py
parent3f2b998f6100945521d2c89fd286b75e13e24977 (diff)
zebra: reduce atomic ops in fpm_process_queue()
Maintain the count of contexts which have been processed in a local variable, and perform a single atomic update after we have consumed all queued contexts. Generally this results in at least one less atomic operation per context. Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
Diffstat (limited to 'tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py')
0 files changed, 0 insertions, 0 deletions