diff options
| author | Duncan Eastoe <duncan.eastoe@att.com> | 2020-12-18 14:35:21 +0000 |
|---|---|---|
| committer | Duncan Eastoe <duncan.eastoe@att.com> | 2020-12-18 15:37:13 +0000 |
| commit | 438dd3e7df9f393a3b66ffffa389f93b0592cd2d (patch) | |
| tree | dc8b5295472a61c0d5b4d32633a81b587dbaf13a /tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py | |
| parent | 3f2b998f6100945521d2c89fd286b75e13e24977 (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
