From: Tim Deegan Subject: Re: [PATCH] ept: Fix bug in changeset 22526:7a5ee3800417 Date: Wed, 16 Mar 2011 09:40:15 +0000 Message-ID: <20110316094015.GK24523@whitby.uk.xensource.com> References: <56b32e6fd3158e34288e.1300203711@elijah> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <56b32e6fd3158e34288e.1300203711@elijah> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 15:41 +0000 on 15 Mar (1300203711), George Dunlap wrote: > This fixes a bug in changeset 22526:7a5ee3800417, where the wrong > value is read when deciding whether to flush the VTd tables. The > effect is minor: in situations where the p2m entry is changed but the > mfn is the same, the VTd tables will be unnecessarily flushed. > > old_entry is left untouched in the second case, since having a present > old_entry will cause the an unnecessary check to be taken at the end > of the function. > > Spotted-by: Zhang, Peng Fei > Signed-off-by: George Dunlap Applied, thanks. Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)