From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 0 of 2] Mem event ring management overhaul Date: Wed, 7 Dec 2011 14:17:53 +0100 Message-ID: <20111207131753.GA27309@aepfle.de> References: <20111206172605.GA18176@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: andres@gridcentric.ca, xen-devel@lists.xensource.com, tim@xen.org, keir.xen@gmail.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org On Tue, Dec 06, Andres Lagar-Cavilla wrote: > If the request comes from the guest itself, and it requires > paging_populate (!= p2m_query), the event is guaranteed to be put in the > ring, and then the vcpu goes to sleep. > > Easy-peasy If everything were so easy. ;-) I will try to combine your patch with my paging waitqueue change. Perhaps your change should disallow paging if max_cpus is larger than RING_SIZE(). Olaf