Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 19:11:17 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_proc.c
Message-ID:  <Pine.BSF.4.21.0202071909040.91961-100000@InterJet.elischer.org>
In-Reply-To: <200202080256.g182uAj61466@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I think this is the wrong fix..

you should use td->td_kse->ke_flags instead as the 
field td_last_kse is possibly scheduled for demolition.

I suspect that td->td_kse should be valid for all threads
being tested.. (is it always curthread()?)


On Thu, 7 Feb 2002, Peter Wemm wrote:

> peter       2002/02/07 18:56:10 PST
> 
>   Modified files:
>     sys/kern             kern_proc.c 
>   Log:
>   Fix a fatal trap when using ksched_setscheduler() (eg: mozilla, netscape
>   etc) which use:  td->td_last_kse->ke_flags |= KEF_NEEDRESCHED;
>   
>   Revision  Changes    Path
>   1.109     +1 -1      src/sys/kern/kern_proc.c
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0202071909040.91961-100000>