From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with SMTP id BB3FF6B002D for ; Tue, 15 Nov 2011 11:30:46 -0500 (EST) Message-ID: <4EC29367.9040106@redhat.com> Date: Tue, 15 Nov 2011 11:29:27 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [GIT PULL] mm: frontswap (for 3.2 window) References: <75efb251-7a5e-4aca-91e2-f85627090363@default> <20111027215243.GA31644@infradead.org> <1319785956.3235.7.camel@lappy> <552d2067-474d-4aef-a9a4-89e5fd8ef84f@default20111031181651.GF3466@redhat.com> <60592afd-97aa-4eaf-b86b-f6695d31c7f1@default> <20111031223717.GI3466@redhat.com> <1b2e4f74-7058-4712-85a7-84198723e3ee@default 4EB1AD53.2000600@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Dan Magenheimer Cc: Andrea Arcangeli , Pekka Enberg , Cyclonus J , Sasha Levin , Christoph Hellwig , David Rientjes , Linus Torvalds , linux-mm@kvack.org, LKML , Andrew Morton , Konrad Wilk , Jeremy Fitzhardinge , Seth Jennings , ngupta@vflare.org, Chris Mason , JBeulich@novell.com, Dave Hansen , Jonathan Corbet On 11/02/2011 05:14 PM, Dan Magenheimer wrote: > It occurs to me that batching could be done locally without > changing the in-kernel "API" (i.e. frontswap_ops)... the > guest-side KVM tmem-backend-driver could do the compression > into guest-side memory and make a single > hypercall=vmexit/vmenter whenever it has collected enough for > a batch. That seems like the best way to do it, indeed. Do the current hooks allow that mode of operation, or do the hooks only return after the entire operation has completed? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org