Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 10:25:15 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: witness oddity
Message-ID:  <20040910172515.GU72089@funkthat.com>
In-Reply-To: <16705.57806.550902.483858@grasshopper.cs.duke.edu>
References:  <16705.57806.550902.483858@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040910172515.GU72089>