summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/test/test_json.py
diff options
context:
space:
mode:
authorDuncan Eastoe <duncan.eastoe@att.com>2020-12-18 14:21:18 +0000
committerDuncan Eastoe <duncan.eastoe@att.com>2020-12-18 15:36:38 +0000
commitbf2f7839455a7a820ca015c86b08fe276e888f14 (patch)
treed4d41bb6429c3471cd93d63d61cb40c94ec43a13 /tests/topotests/lib/test/test_json.py
parentdc693fe057ce2c42534aa9336bc50ed24a182877 (diff)
zebra: reduce atomic ops in fpm_nl_process()
Maintain the peak ctxqueue length in a local variable, and perform a single atomic update after processing all 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/lib/test/test_json.py')
0 files changed, 0 insertions, 0 deletions