diff options
| author | Duncan Eastoe <duncan.eastoe@att.com> | 2020-12-18 14:21:18 +0000 |
|---|---|---|
| committer | Duncan Eastoe <duncan.eastoe@att.com> | 2020-12-18 15:36:38 +0000 |
| commit | bf2f7839455a7a820ca015c86b08fe276e888f14 (patch) | |
| tree | d4d41bb6429c3471cd93d63d61cb40c94ec43a13 /tests/topotests/lib/test/test_json.py | |
| parent | dc693fe057ce2c42534aa9336bc50ed24a182877 (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
