> From: Mike Belopuhov <m...@belopuhov.com>
> Date: Tue, 12 Apr 2016 15:33:42 +0200
>
> >> > Another question I have is why are you using an IPL_HIGH mutex?
> >>
> >> The crypto code may be called from any subsystem, so that is the only
> >> safe choice.
> >
> > Well, it's not called from all subsystems, just those that use
> > IPL_BIO and IPL_NET for interrupts and IPL_HIGH just includes
> > AUDIO and CLOCK which don't call any crypto(9) code.  So what
> > are you trying to protect it from or is it just a placeholder
> > value?  I'm fine if it is, just curious.
> 
> After some discussions with kettenis, it became apparent that IPL_VM
> is also a valid setting for this mutex, I agree however that IPL_HIGH is
> fine as well.  With that OK mikeb.

Settled for IPL_VM; see commit message for my reasoning.


Reply via email to