Re: pr_usrreq and splsoftnet

2016-11-16 Thread Claudio Jeker
On Wed, Nov 16, 2016 at 11:38:06AM +0100, Martin Pieuchot wrote: > I'd like to enforce that pr_usrreq functions are always called at > IPL_SOFTNET. This will allow us to keep locking simple as soon as > we trade splsoftnet() for a rwlock. > > Most of the PRU_* actions are already called under spl

Re: pr_usrreq and splsoftnet

2016-11-16 Thread Alexander Bluhm
On Wed, Nov 16, 2016 at 11:38:06AM +0100, Martin Pieuchot wrote: > I'd like to enforce that pr_usrreq functions are always called at > IPL_SOFTNET. This will allow us to keep locking simple as soon as > we trade splsoftnet() for a rwlock. > > Most of the PRU_* actions are already called under spl

pr_usrreq and splsoftnet

2016-11-16 Thread Martin Pieuchot
I'd like to enforce that pr_usrreq functions are always called at IPL_SOFTNET. This will allow us to keep locking simple as soon as we trade splsoftnet() for a rwlock. Most of the PRU_* actions are already called under splsoftnet() and the ones that are not are relatively small, so it should not