]> git.proxmox.com Git - mirror_frr.git/commit - zebra/dplane_fpm_nl.c
zebra: reduce dplane_fpm_nl ctxqueue_mutex contention
authorDuncan Eastoe <duncan.eastoe@att.com>
Fri, 18 Dec 2020 14:04:45 +0000 (14:04 +0000)
committerDuncan Eastoe <duncan.eastoe@att.com>
Fri, 18 Dec 2020 15:33:46 +0000 (15:33 +0000)
commitdc693fe057ce2c42534aa9336bc50ed24a182877
tree45d5b0f5a1bfe10acd700487c9cca237a5579811
parentb2d8bcc52a7d31ad9aacdb578093dabf327fb563
zebra: reduce dplane_fpm_nl ctxqueue_mutex contention

Reduce code in the critical sections of fpm_nl_process() and
fpm_process_queue() to the bare minimum - basically only enqueue
and dequeue operations on the shared ctxqueue.

Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
zebra/dplane_fpm_nl.c