From owner-freebsd-alpha Wed Jun 27 21:16:41 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from server.baldwin.cx (server.baldwin.cx [204.216.28.80]) by hub.freebsd.org (Postfix) with ESMTP id 6F4D937B403 for ; Wed, 27 Jun 2001 21:16:33 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (tserver.conference.usenix.org [199.103.159.3]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id VAA23848; Wed, 27 Jun 2001 21:18:08 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 27 Jun 2001 21:16:30 -0700 (PDT) From: John Baldwin To: Doug Rabson Subject: Re: pmap_emulate_reference() Cc: alpha@FreeBSD.ORG Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 -- 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