From: "Jan Beulich" Subject: Re: [PATCH v3 2/3] xen/shadow: fix shadow_track_dirty_vram to work on hvm guests Date: Tue, 14 Apr 2015 13:22:10 +0100 Message-ID: <552D22920200007800071E4B@mail.emea.novell.com> References: <1428686959-2890-1-git-send-email-roger.pau@citrix.com> <1428686959-2890-3-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yhzr6-0003uZ-PM for xen-devel@lists.xenproject.org; Tue, 14 Apr 2015 12:22:16 +0000 In-Reply-To: <1428686959-2890-3-git-send-email-roger.pau@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: Andrew Cooper , Tim Deegan , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 10.04.15 at 19:29, wrote: > Modify shadow_track_dirty_vram to use a local buffer and then flush to the > guest without the paging_lock held. This is modeled after > hap_track_dirty_vram. And hence introduces the same issue: The HVMOP_track_dirty_vram handler explicitly allows for up to 1Gb of VRAM, yet here you effectively limit things to 128Mb (one page worth of bits each taking care of one guest page) considering heavily fragmented memory. Apart from that the patch would need cleaning up for coding style. Jan