Re: Introduce NET_RLOCK()

2017-11-08 Thread Martin Pieuchot
On 08/11/17(Wed) 12:22, Saša Nedvědický wrote: > Hello, > > I think the recent diff should go in so I can pick it up to my tree. > It's the same what I have in my net/systm.h > > What I also found that in some cases, we are going to > grab KERNEL_LOCK(), while running in in_input_process(). > thi

Re: Introduce NET_RLOCK()

2017-11-08 Thread Saša Nedvědický
Hello, I think the recent diff should go in so I can pick it up to my tree. It's the same what I have in my net/systm.h What I also found that in some cases, we are going to grab KERNEL_LOCK(), while running in in_input_process(). this typically happens when we deal with multicast forwarding in i

Re: Introduce NET_RLOCK()

2017-11-08 Thread Mark Kettenis
> Date: Wed, 8 Nov 2017 10:37:02 +0100 > From: Martin Pieuchot > > We're at the stage where we want to run multiple parts of the Network > Stack in parallel. sashan@ is trying to get multiple network threads > running to exercise parallelism in pf_test() and tb@ is trying to push > the NET_LOCK(

Re: Introduce NET_RLOCK()

2017-11-08 Thread Martin Pieuchot
On 08/11/17(Wed) 10:37, Martin Pieuchot wrote: > We're at the stage where we want to run multiple parts of the Network > Stack in parallel. sashan@ is trying to get multiple network threads > running to exercise parallelism in pf_test() and tb@ is trying to push > the NET_LOCK() further down in io

Introduce NET_RLOCK()

2017-11-08 Thread Martin Pieuchot
We're at the stage where we want to run multiple parts of the Network Stack in parallel. sashan@ is trying to get multiple network threads running to exercise parallelism in pf_test() and tb@ is trying to push the NET_LOCK() further down in ioctl(2) path. However we want to be able to gradually s