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
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
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