Improve pending checks in poll loop by ordering them by trigger frequency
authorclaudio <claudio@openbsd.org>
Wed, 18 Jan 2023 13:20:00 +0000 (13:20 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 18 Jan 2023 13:20:00 +0000 (13:20 +0000)
commit86c75b53114516a735f5870357ccdf8dcc8272c9
treeea4ecb6a631ea87eaf35f7468e35199d87d83d24
parentdbdb410737113e767fdfc86b21f6e3712c3fce4f
Improve pending checks in poll loop by ordering them by trigger frequency
and by making peer_imsg_pending() a true O(1) function.
OK tb@
usr.sbin/bgpd/rde.c
usr.sbin/bgpd/rde_peer.c