From owner-cvs-all@FreeBSD.ORG Tue Dec 9 13:14:32 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFB8716A4CE; Tue, 9 Dec 2003 13:14:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0309B43D30; Tue, 9 Dec 2003 13:14:32 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB9LEVXJ028721; Tue, 9 Dec 2003 13:14:31 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB9LEVEK028720; Tue, 9 Dec 2003 13:14:31 -0800 (PST) (envelope-from jhb) Message-Id: <200312092114.hB9LEVEK028720@repoman.freebsd.org> From: John Baldwin Date: Tue, 9 Dec 2003 13:14:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_turnstile.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 21:14:32 -0000 jhb 2003/12/09 13:14:31 PST FreeBSD src repository Modified files: sys/kern subr_turnstile.c Log: Adjust an assertion for the TDF_TSNOBLOCK race handling in turnstile_unpend(). A racing thread that does not have TDI_LOCK set may either be running on another CPU or it may be sitting on a run queue if it was preempted during the very small window in turnstile_wait() between unlocking the turnstile chain lock and locking sched_lock. Revision Changes Path 1.137 +3 -2 src/sys/kern/subr_turnstile.c