Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2008 11:52:36 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_thread.c
Message-ID:  <200807281152.37119.jhb@freebsd.org>
In-Reply-To: <200807261858.m6QIwuL8037138@repoman.freebsd.org>
References:  <200807261858.m6QIwuL8037138@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 July 2008 02:58:50 pm Konstantin Belousov wrote:
> 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.

Thanks.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807281152.37119.jhb>