attilio 2008-03-29 23:00:29 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/netsmb smb_iod.c
Log:
MFC rev. 1.21:
Drop Giant lock before to destroy the kthread.
Revision ChangesPath
1.17.2.1 +1 -2 src/sys/netsmb/smb_iod.c
attilio 2008-03-27 01:23:59 UTC
FreeBSD src repository
Modified files:
sys/netsmb smb_iod.c
Log:
Really, smb_iod_main() is not totally MPSAFE, so just acquire and drop
Giant around it in order to assume MPSAFETY.
Reported by:jhb, rwatson
Pointy hat to:
attilio 2008-02-25 21:09:16 UTC
FreeBSD src repository
Modified files:
sys/netsmb smb_iod.c
Log:
Remove a spourious Giant acquisition.
The code seems pretty MPSAFE and Giant is held over kproc_exit() which
at lowel calls exit1(). exit1() requires Giant to be