Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



Jukka Ruohonen wrote:
> What are the options to handle cases like this?
> 
> While looking for examples, I also noticed few bugs where the possibly
> blocking kmem_free(9) is used while holding a mutex (e.g. ras_purgeall() in
> kern_ras.c).

Disclaimer: I'm a complete newbie in this area.

Blocking kmem is not necessarily a bug is you hold an adaptive lock.
Your mutex is IPL_NONE, if I remember correctly. You probably don't need
to be smart.

Alex


Home | Main Index | Thread Index | Old Index