From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] xen/domctl: lower loglevel of XEN_DOMCTL_memory_mapping Date: Wed, 9 Sep 2015 11:05:21 -0400 Message-ID: <20150909150521.GB3168@l.oracle.com> References: <1441781425-11553-1-git-send-email-tiejun.chen@intel.com> <20150909142018.GA28134@l.oracle.com> <55F05F7002000078000A15B9@prv-mh.provo.novell.com> <20150909145013.GH28134@l.oracle.com> <55F0648A02000078000A15FE@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <55F0648A02000078000A15FE@prv-mh.provo.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: Keir Fraser , Ian Campbell , Ian Jackson , Tim Deegan , xen-devel@lists.xen.org, Tiejun Chen List-Id: xen-devel@lists.xenproject.org On Wed, Sep 09, 2015 at 08:55:38AM -0600, Jan Beulich wrote: > >>> On 09.09.15 at 16:50, wrote: > > On Wed, Sep 09, 2015 at 08:33:52AM -0600, Jan Beulich wrote: > >> >>> On 09.09.15 at 16:20, wrote: > >> > Perhaps the solution is remove the first printk(s) and just have them > >> > once the operation has completed? That may fix the outstanding tasklet > >> > problem? > >> > >> Considering that this is a tool stack based retry, how would the > >> hypervisor know when the _whole_ operation is done? > > > > I was merely thinking of moving the printk _after_ the map_mmio_regions > > so there wouldn't be any outstanding preemption points in map_mmio_regions > > (so it can at least do the 64 PFNs). > > But there are no preemption points. That's why you needed to use > tool stack based retries in the first place. You are totally right. I recall seeing it but I realize it was an RFC patch I wrote that would have made map_mmio_regions call the hypercall_preempt_check()! Sorry about the noise! > > Jan >