From owner-cvs-all@FreeBSD.ORG Thu Sep 15 21:30:32 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 300E016A41F; Thu, 15 Sep 2005 21:30:32 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD79543D45; Thu, 15 Sep 2005 21:30:31 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 1FE44BC96; Thu, 15 Sep 2005 21:30:25 +0000 (UTC) To: Scott Long From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 15 Sep 2005 15:27:21 MDT." <4329E739.4070707@samsco.org> Date: Thu, 15 Sep 2005 23:30:24 +0200 Message-ID: <7524.1126819824@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek , cvs-all@FreeBSD.org, John Baldwin Subject: Re: cvs commit: src/sys/kern kern_intr.c subr_sleepqueue.c src/sys/geom geom_io.c src/sys/sys proc.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 15 Sep 2005 21:30:32 -0000 In message <4329E739.4070707@samsco.org>, Scott Long writes: >Well, there is a subtle distinction here that isn't well understood. >Sleep mutexes "block", they don't "sleep". A good rule of thumb is that userland won't get to run while mutexes are held, whereas userland may run while a thread is sleeping. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.