From owner-freebsd-current@FreeBSD.ORG Fri Sep 10 17:25:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E81A16A4CE for ; Fri, 10 Sep 2004 17:25:17 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id F38FA43D4C for ; Fri, 10 Sep 2004 17:25:16 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 4663 invoked from network); 10 Sep 2004 17:25:16 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Sep 2004 17:25:16 -0000 Received: from hydrogen.funkthat.com (hsrqxa@localhost.funkthat.com [127.0.0.1])i8AHPFuU010406; Fri, 10 Sep 2004 10:25:16 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i8AHPFhM010405; Fri, 10 Sep 2004 10:25:15 -0700 (PDT) Date: Fri, 10 Sep 2004 10:25:15 -0700 From: John-Mark Gurney To: Andrew Gallatin Message-ID: <20040910172515.GU72089@funkthat.com> Mail-Followup-To: Andrew Gallatin , freebsd-current@freebsd.org References: <16705.57806.550902.483858@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16705.57806.550902.483858@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-current@freebsd.org Subject: Re: witness oddity X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:25:17 -0000 Andrew Gallatin wrote this message on Fri, Sep 10, 2004 at 13:18 -0400: > If I call copyout() holding one of my mutexes, it will always complain > about a LOR, even if the mutex is freshly initiated: Calling copyout while holding a mutex is not allowed... If the page isn't in memory, it could take many seconds for the page to be swapped back in during which time your mutex will continue to be held. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."