From owner-cvs-src-old@FreeBSD.ORG Thu Jan 7 00:48:11 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 880C91065695 for ; Thu, 7 Jan 2010 00:48:11 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 766568FC1F for ; Thu, 7 Jan 2010 00:48:11 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o070mBpx068927 for ; Thu, 7 Jan 2010 00:48:11 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o070mBAB068926 for cvs-src-old@freebsd.org; Thu, 7 Jan 2010 00:48:11 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <201001070048.o070mBAB068926@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Thu, 7 Jan 2010 00:47:50 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_lock.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 00:48:11 -0000 attilio 2010-01-07 00:47:50 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c Log: SVN rev 201703 on 2010-01-07 00:47:50Z by attilio Exclusive waiters sleeping with LK_SLEEPFAIL on and using interruptible sleeps/timeout may have left spourious lk_exslpfail counts on, so clean it up even when accessing a shared queue acquisition, giving to lk_exslpfail the value of 'upper limit'. In the worst case scenario, infact (mixed interruptible sleep / LK_SLEEPFAIL waiters) what may happen is that both queues are awaken even if that's not necessary, but still no harm. Reported by: Lucius Windschuh Reviewed by: kib Tested by: pho, Lucius Windschuh Revision Changes Path 1.152 +25 -3 src/sys/kern/kern_lock.c