thread-unsafety problems as spl*() ones are NOP

mokhi mokhi64 at gmail.com
Sun Jan 31 06:30:54 UTC 2016


@imp:
i exactly mean (Okay not so exact but very near ;D) what you said.
after analyzing kbd.c functions (eg, kbd_realloc_array()) i concluded
there are race conditions (and at  result in some places there are
un-protected data too)

i don't mean to blindly replace splXXX() with locks, but the places i
see race-conds.
Also i should say there are manythings i dunno well or i dont have
deep understanding of them and that's why im here to ask (ie what
special condition Giant-Lock makes here [i should care about] and what
is MPSAFE basically)
i'd happy if you answer me those question too :D

Regards, Mokhi.


More information about the freebsd-current mailing list