From owner-cvs-all Tue Oct 24 17: 4:21 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1434C37B479; Tue, 24 Oct 2000 17:04:19 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA39645; Tue, 24 Oct 2000 17:04:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200010250004.RAA39645@freefall.freebsd.org> From: John Baldwin Date: Tue, 24 Oct 2000 17:04:18 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_glue.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/10/24 17:04:18 PDT Modified files: sys/vm vm_glue.c Log: - Catch a machine/mutex.h -> sys/mutex.h I somehow missed. - Close a small race condition. The sched_lock mutex protects p->p_stat as well as the run queues. Another CPU could change p_stat of the process while we are waiting for the lock, and we would end up scheduling a process that isn't runnable. Revision Changes Path 1.100 +4 -4 src/sys/vm/vm_glue.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message