On Wed, Jan 30, 2019 at 09:36:03PM -0200, Murilo Opsfelder Araujo wrote: > The first patch unfolds parts of qemu_ram_mmap() to make it clearer. > No changes in the function behaviour. > > The second one fixes the alignment of the length given to munmap(). > > I am pretty sure there is room for improvement, so I would love to > hear your feedback. > > Thank you!
Applied to ppc-for-4.0. > > Murilo Opsfelder Araujo (2): > mmap-alloc: unfold qemu_ram_mmap() > mmap-alloc: fix hugetlbfs misaligned length in ppc64 > > exec.c | 4 +-- > include/qemu/mmap-alloc.h | 2 +- > util/mmap-alloc.c | 73 ++++++++++++++++++++++++++------------- > util/oslib-posix.c | 2 +- > 4 files changed, 53 insertions(+), 28 deletions(-) > -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature