Skip to content

mmap-alloc: fix hugetlbfs misaligned length in ppc64

Murilo Opsfelder Araujo qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-4.0.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2mmap-alloc: unfold qemu_ram_mmap()util/mmap-alloc.c+34 -192 replies
2/2mmap-alloc: fix hugetlbfs misaligned length in ppc64exec.c include/qemu/mmap-alloc.h util/mmap-alloc.c +1 more+20 -102 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGreg KurzBalamuruhan S
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] mmap-alloc: fix hugetlbfs misaligned length in ppc64

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!

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(-)

--
2.20.1