Re: arp mutex mbuf queue

2023-04-03 Thread Alexander Bluhm
On Mon, Apr 03, 2023 at 05:45:43PM +0300, Vitaliy Makkoveev wrote: > On Mon, Apr 03, 2023 at 02:12:45PM +0200, Alexander Bluhm wrote: > > Hi, > > > > The arp mbuf queue la_mq has its own mutex, la_hold_total uses > > atomic operations. So they don't need the global arp mutex. > > > > Pull them

Re: arp mutex mbuf queue

2023-04-03 Thread Vitaliy Makkoveev
On Mon, Apr 03, 2023 at 02:12:45PM +0200, Alexander Bluhm wrote: > Hi, > > The arp mbuf queue la_mq has its own mutex, la_hold_total uses > atomic operations. So they don't need the global arp mutex. > > Pull them out of arp_mtx blocks to make clear what the scope of > arp_mtx protection is. >

arp mutex mbuf queue

2023-04-03 Thread Alexander Bluhm
Hi, The arp mbuf queue la_mq has its own mutex, la_hold_total uses atomic operations. So they don't need the global arp mutex. Pull them out of arp_mtx blocks to make clear what the scope of arp_mtx protection is. ok? bluhm Index: netinet/if_ether.c