From: Tim Deegan Subject: Re: [PATCH v3 3/3] xen: rework paging_log_dirty_op to work with hvm guests Date: Thu, 16 Apr 2015 10:11:18 +0100 Message-ID: <20150416091118.GC13443@deinos.phlegethon.org> References: <1428686959-2890-1-git-send-email-roger.pau@citrix.com> <1428686959-2890-4-git-send-email-roger.pau@citrix.com> <552D20D70200007800071E38@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YifpV-0007ON-He for xen-devel@lists.xenproject.org; Thu, 16 Apr 2015 09:11:26 +0000 Content-Disposition: inline In-Reply-To: <552D20D70200007800071E38@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Andrew Cooper , xen-devel@lists.xenproject.org, Roger Pau Monne List-Id: xen-devel@lists.xenproject.org At 13:14 +0100 on 14 Apr (1429017287), Jan Beulich wrote: > > This won't work: The paging lock protects all of > > d->arch.paging.preempt.log_dirty, of which you hold cached values > > in local variables. > > ... so how about reusing the existing restart code instead? We could > either move the label further up or tail-recurse into it. > > Tim.