tech-kern archive

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

Re: Making global variables of if.c MPSAFE

 On 26 Jul, 2014, at 22:38 , Ryota Ozaki <> wrote:
The global variables are read-mostly, so I replace the mutex with a
rwlock and use it for all. Unfortunately, ifnet_list may be accessed
from interrupt context (only read though) so that I add a spin mutex
for it; we hold the mutex when we modify ifnet_list as well as the

This breaks BEAGLEBOARDXM, btw.

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index