From: "Jan Beulich" Subject: Re: [PATCH v8 1/2] xen: introduce vcpu_block and vcpu_block_enable_events Date: Tue, 23 Apr 2013 08:23:45 +0100 Message-ID: <5176532102000078000CFC78@nat28.tlf.novell.com> References: <1366652540-24208-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Stefano Stabellini , xen-devel@lists.xensource.com Cc: julien.grall@citrix.com, Keir Fraser , tim@xen.org, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 22.04.13 at 22:00, Keir Fraser wrote: > On 22/04/2013 18:42, "Stefano Stabellini" wrote: > >> Rename do_block to vcpu_block. >> >> Move the call to local_event_delivery_enable out of vcpu_block, to a new >> function called vcpu_block_enable_events. >> >> Use vcpu_block_enable_events instead of do_block throughout in >> schedule.c > > While you're there, could you make both vcpu_block variants return void? And I don't see why vcpu_block_enable_events() needs to become non-static... Jan