From: Scott Wood Date: Mon, 25 Jul 2011 19:25:51 +0000 Subject: Re: [PATCH v5 5/5] KVM: PPC: e500: MMU API Message-Id: <20110725142551.542e5710@schlenkerla.am.freescale.net> List-Id: References: <20110707234159.GE6646@schlenkerla.am.freescale.net> In-Reply-To: <20110707234159.GE6646@schlenkerla.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On Sun, 24 Jul 2011 11:16:32 +0200 Alexander Graf wrote: > On 19.07.2011, at 13:20, Johannes Weiner wrote: > > > You don't have to work around the mm subsystem trying to reclaim your > > memory, The pages are pinned by get_free_pages_fast(). > > maintain disk coherency that is guaranteed by the filebacked > > memory semantics etc. > > > > If your driver provides the memory, there are much less assumptions > > from userspace that you have to consider and memory management will > > not interfere either. > > Ah, thanks a lot. Scott, mind to switch this to the normal scheme then? Sounds like we don't need to dirty set by then either. That's a fair bit of churn and added complexity, both here and in qemu. Is it really worth redesigning this API again, to avoid setting a few dirty bits on an already-slow heavyweight exit? -Scott