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

2019-02-04 Thread Murilo Opsfelder Araujo
On Mon, Feb 04, 2019 at 11:08:05AM +1100, David Gibson wrote: > 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 t

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

2019-02-03 Thread David Gibson
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 im

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

2019-01-30 Thread Murilo Opsfelder Araujo
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 Arauj