[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130215033740.GC25015@drongo>
Date: Fri, 15 Feb 2013 14:37:40 +1100
From: Paul Mackerras <paulus@...ba.org>
To: aik@...abs.ru
Cc: Alexander Graf <agraf@...e.de>,
Michael Ellerman <michael@...erman.id.au>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
kvm-ppc@...r.kernel.org, kvm@...r.kernel.org,
David Gibson <david@...son.dropbear.id.au>
Subject: Re: [PATCH 3/4] powerpc: preparing to support real mode optimization
On Mon, Feb 11, 2013 at 11:12:42PM +1100, aik@...abs.ru wrote:
> From: Alexey Kardashevskiy <aik@...abs.ru>
>
> he current VFIO-on-POWER implementation supports only user mode
> driven mapping, i.e. QEMU is sending requests to map/unmap pages.
> However this approach is really slow in really fast hardware so
> it is better to be moved to the real mode.
>
> The patch adds an API to increment/decrement page counter as
> get_user_pages API used for user mode mapping does not work
> in the real mode.
>
> CONFIG_SPARSEMEM_VMEMMAP and CONFIG_FLATMEN are supported.
>
> Signed-off-by: Alexey Kardashevskiy <aik@...abs.ru>
> Cc: David Gibson <david@...son.dropbear.id.au>
> ---
The names are slightly odd, in that they include "vmemmap_" but exist
and work in the flatmem case as well. Apart from that...
Reviewed-by: Paul Mackerras <paulus@...ba.org>
Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists