summaryrefslogtreecommitdiffstats
path: root/util/mmap-alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* exec: factor out duplicate mmap codeMichael S. Tsirkin2015-10-211-0/+71
Anonymous and file-backed RAM allocation are now almost exactly the same. Reduce code duplication by moving RAM mmap code out of oslib-posix.c and exec.c. Reported-by: Marc-André Lureau <mlureau@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
OpenPOWER on IntegriCloud