From: Chris Wright Subject: Re: [patch] pagetable cleanups, next version Date: Fri, 15 Apr 2005 10:20:54 -0700 Message-ID: <20050415172054.GT493@shell0.pdx.osdl.net> References: <20050415125620.GA7531@bytesex> <20050415162338.GQ493@shell0.pdx.osdl.net> <20050415164654.GA9516@bytesex> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20050415164654.GA9516@bytesex> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Knorr Cc: Chris Wright , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org * Gerd Knorr (kraxel@bytesex.org) wrote: > There is the new l?e_has_changed() function which can be used to compare > two page table entries. It takes ptr's to two page table entries and a > bitmask with the page flags it should care about. The function will > also deal with PAGE_MASK, so this is gone from the functions calling > into l?e_has_changed(). > > In that particular function I also ditched the MATCH_ENTRY() macro which > did something simliar to l?e_has_changed() in a less generic way. That > makes the code look even more different, although it _should_ be the > same logic and it IMHO is also more readable. I admit that I havn't > tested shadow mode though ... > > > Looks like create plus has changed is the new way? > > Huh? I lost you here ... Sorry, that was my bad shorhand for l1e_create followed by l1e_has_changed. Thanks for confirmation/explanation. -chris