Received: by mail.netbsd.org (Postfix, from userid 0) id 4E47F63B104; Tue, 2 Nov 2010 15:17:52 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 4279B63B11D for ; Tue, 2 Nov 2010 15:17:38 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5A09D175DD; Tue, 2 Nov 2010 15:17:38 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Tue, 2 Nov 2010 15:17:38 +0000 From: "Antti Kantee" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101102151738.5A09D175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Antti Kantee" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: pooka Date: Tue Nov 2 15:17:38 UTC 2010 Modified Files: src/sys/kern: kern_synch.c Log Message: KASSERT we don't kpause indefinitely without interruptability. XXX: using timo == 0 to mean "sleep as long as you like, and forever if you're really tired" is not the smartest interface considering the the hz/n idiom used to specify timo. This leads to unwanted behaviour when hz gets below some impossible-to-know limit. With a usec2ticks() routine it at least be a little more tolerable. To generate a diff of this commit: cvs rdiff -u -r1.283 -r1.284 src/sys/kern/kern_synch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.