qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] mmap-alloc: fix hugetlbfs misaligned length in ppc64
@ 2019-01-30 23:36 Murilo Opsfelder Araujo
  2019-01-30 23:36 ` [Qemu-devel] [PATCH 1/2] mmap-alloc: unfold qemu_ram_mmap() Murilo Opsfelder Araujo
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Murilo Opsfelder Araujo @ 2019-01-30 23:36 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc
  Cc: Murilo Opsfelder Araujo, Cao jin, David Gibson, Fabiano Rosas,
	Greg Kurz, Michael S . Tsirkin, Paolo Bonzini, Peter Crosthwaite,
	Richard Henderson, mopsfelder

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-02-04 14:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-30 23:36 [Qemu-devel] [PATCH 0/2] mmap-alloc: fix hugetlbfs misaligned length in ppc64 Murilo Opsfelder Araujo
2019-01-30 23:36 ` [Qemu-devel] [PATCH 1/2] mmap-alloc: unfold qemu_ram_mmap() Murilo Opsfelder Araujo
2019-01-31  9:49   ` Greg Kurz
2019-02-01 13:44   ` Balamuruhan S
2019-01-30 23:36 ` [Qemu-devel] [PATCH 2/2] mmap-alloc: fix hugetlbfs misaligned length in ppc64 Murilo Opsfelder Araujo
2019-01-31  9:58   ` Greg Kurz
2019-02-01 13:43   ` Balamuruhan S
2019-02-04  0:08 ` [Qemu-devel] [PATCH 0/2] " David Gibson
2019-02-04 14:27   ` Murilo Opsfelder Araujo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).