cvs commit: src/sys/kern kern_thread.c
Konstantin Belousov
kib at FreeBSD.org
Sat Jul 26 18:58:57 UTC 2008
kib 2008-07-26 18:58:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern kern_thread.c
Log:
SVN rev 180830 on 2008-07-26 18:58:50Z by kib
Although being recorded as MFC of the r177369, this change was
introduced for the KSE case in the r177083. Both were done by jeff,
MFC is needed due to recent cpuset(2) commit to RELENG_7.
r177083:
KSE may free a thread that was never actually forked. This will leave
td_cpuset NULL. Check for this condition before dereferencing the
cpuset.
r177369:
Restore the NULL check for td_cpuset. This can happen if a partially
constructed thread was torn down as is the case when we fail to allocate
a kernel stack.
Revision Changes Path
1.255.2.6 +2 -1 src/sys/kern/kern_thread.c
More information about the cvs-src
mailing list