From: "Jan Beulich" Subject: Re: -EINTR return in domain_relinquish_resources Date: Thu, 22 Jan 2015 10:00:35 +0000 Message-ID: <54C0D8530200007800057FEB@mail.emea.novell.com> References: <20150121212720.GA24555@l.oracle.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 1YEEZ3-00048r-Lz for xen-devel@lists.xenproject.org; Thu, 22 Jan 2015 10:00:37 +0000 In-Reply-To: <20150121212720.GA24555@l.oracle.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: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 21.01.15 at 22:27, wrote: > As I was looking at some of the XSA I realized that the > call-chain of: > > domain_relinquish_resources > ->vcpu_destroy_pagetables > -> put_page_and_type_preemptible > -> __put_page_type > returns -EINTR > [...] > b). Or should the hypervisor convert the -EINTR to -ERESTART > (or -EAGAIN) - which most of the code (see users of > get_page_type_preemptible) do right now? This one, in vcpu_destroy_pagetables(). I'm afraid I overlooked this when adding the preemption capability here. Jan