[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] xen-mapcache: use MAP_FIXED flag so the mmap
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-devel] [PATCH v3] xen-mapcache: use MAP_FIXED flag so the mmap address hint is always honored |
Date: |
Tue, 19 Mar 2019 15:06:40 +0000 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Mon, Mar 18, 2019 at 06:37:31PM +0100, Roger Pau Monne wrote:
> Or if it's not possible to honor the hinted address an error is returned
> instead. This makes it easier to spot the actual failure, instead of
> failing later on when the caller of xen_remap_bucket realizes the
> mapping has not been created at the requested address.
>
> Also note that at least on FreeBSD using MAP_FIXED will cause mmap to
> try harder to honor the passed address.
>
> Signed-off-by: Roger Pau Monné <address@hidden>
> Reviewed-by: Paul Durrant <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
--
Anthony PERARD