From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 2 of 4] xenpaging: use wait queues Date: Fri, 2 Dec 2011 18:34:12 +0100 Message-ID: <20111202173411.GA30126@aepfle.de> References: <782967b2dc26ac23e527e33839e8336f.squirrel@webmail.lagarcavilla.org> <20111201184616.GA17010@aepfle.de> <20111202164357.GA29226@aepfle.de> <188ac55da1f6e5f257ae01204118281c.squirrel@webmail.lagarcavilla.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <188ac55da1f6e5f257ae01204118281c.squirrel@webmail.lagarcavilla.org> 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Dec 02, Andres Lagar-Cavilla wrote: > A pager could nominate gfn's in batches, write them out in batches, evict > them in batches. It's a bit of a longshot, but exemplifies the kinds of > problems we need to think about when tinkering with the paging ABI. I want to do something like that, using a separate ring instead of individual domctls. However, its more an optimization than a bugfix so its not a top priority for me. I see you already submitted changes to simplify event channel handling. > On that topic. Is there a reason why a page cannot be proactively paged in > without attempting to map it first? I.e. move from p2m_ram_paging_out > straight into p2m_ram_paging_in with paging_prep/_load? It would eliminate > xenpaging's use of a page-in thread... Maybe there are different ways to do that. The way ring buffers are implemented now its not possible to send one-way events with the ring. Olaf