From owner-p4-projects Tue Jul 9 15:20:25 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A0FFE37B401; Tue, 9 Jul 2002 15:20:17 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D95E637B400; Tue, 9 Jul 2002 15:20:16 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AE4A43E58; Tue, 9 Jul 2002 15:20:16 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020709222015.NZSG6023.sccrmhc02.attbi.com@InterJet.elischer.org>; Tue, 9 Jul 2002 22:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA36932; Tue, 9 Jul 2002 15:03:58 -0700 (PDT) Date: Tue, 9 Jul 2002 15:03:57 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: Perforce Change Reviews Subject: Re: PERFORCE change 13995 for review In-Reply-To: <200207092121.g69LLYBh092119@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG this looks "odd" ==== //depot/projects/smpng/sys/i386/i386/machdep.c#40 (text+ko) ==== @@ -825,8 +825,11 @@ struct trapframe *regs = td->td_frame; struct pcb *pcb = td->td_pcb; + mtx_lock_spin(&sched_lock); if (td->td_proc->p_md.md_ldt) user_ldt_free(td); + else + mtx_unlock_spin(&sched_lock); bzero((char *)regs, sizeof(struct trapframe)); regs->tf_eip = entry; does user_ldt_free(td) release the sched lock? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message