From: Tim Deegan Subject: Re: [PATCH] Relax assertion in VRAM tracking code Date: Mon, 23 Nov 2009 11:39:24 +0000 Message-ID: <20091123113924.GE14284@whitby.uk.xensource.com> References: <20091116170040.GC14284@whitby.uk.xensource.com> <4B0A7F81020000780002162A@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <4B0A7F81020000780002162A@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 11:26 +0000 on 23 Nov (1258975601), Jan Beulich wrote: > >>> Tim Deegan 16.11.09 18:00 >>> > >The original assertion is too strict, as it includes the A/D bits of the > >PTE, which (by design) can change under our feet. > > > >Signed-off-by: Tim Deegan > > Wouldn't the comparison a few lines down from the ASSERT() thus fixed > also benefit from a similar adjustment? Actually, on closer inspection my original fix was wrong; the bottom 12 bits of sl1ma are taken from the _pointer_ to the sl1e, not the contents, so the assertion is plausible. Keir, can you please revert it? Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]