From owner-cvs-all Thu Feb 7 19:20:33 2002 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 3927337B43F; Thu, 7 Feb 2002 19:20:17 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020208032016.TLEI2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 8 Feb 2002 03:20:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id TAA99295; Thu, 7 Feb 2002 19:11:19 -0800 (PST) Date: Thu, 7 Feb 2002 19:11:17 -0800 (PST) From: Julian Elischer To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_proc.c In-Reply-To: <200202080256.g182uAj61466@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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