Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 21:16:30 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: pmap_emulate_reference()
Message-ID:  <XFMail.010627211630.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.33.0106280021530.97752-100000@herring.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27-Jun-01 Doug Rabson wrote:
> On Thu, 28 Jun 2001, Doug Rabson wrote:
> 
>> Based on a conversation at lunch today, I decided to try rewriting
>> pmap_emulate_reference() to avoid the need for the vm lock. Basically, I
>> just use a couple of extra bits in the pte to store the changed/referenced
>> state and defer the hard work to pmap_ts_referenced() etc.
>>
>> I haven't (obviously) tested this since I'm at Usenix but I think the
>> principle is sound.
>>
> 
> This version is a bit simpler...

It also means that pmap_emulate_reference() won't need the vm lock anymore,
which is a big win here.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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