Re: Locking in network code

2018-05-07 Thread Stephen Hemminger
On Sun, 6 May 2018 09:16:26 -0700 Alexander Duyck wrote: > On Sun, May 6, 2018 at 6:43 AM, Jacob S. Moroni wrote: > > Hello, > > > > I have a stupid question regarding which variant of spin_lock to use > > throughout the network stack, and inside RX handlers specifically. > > > > It's my underst

Re: Locking in network code

2018-05-06 Thread Alexander Duyck
On Sun, May 6, 2018 at 6:43 AM, Jacob S. Moroni wrote: > Hello, > > I have a stupid question regarding which variant of spin_lock to use > throughout the network stack, and inside RX handlers specifically. > > It's my understanding that skbuffs are normally passed into the stack > from soft IRQ co