Re: [Qemu-devel] [PATCH] linux-user: use libc wrapper instead of direct mremap syscall

2016-10-07 Thread Riku Voipio
On Fri, Sep 30, 2016 at 07:39:27PM -0400, Felix Janda wrote: > This commit essentially reverts commit > 3af72a4d98dca033492102603734cbc63cd2694a, which has replaced > five-argument calls to mremap() by direct mremap syscalls for > compatibility with glibc older than version 2.4. > > The direct sys

Re: [Qemu-devel] [PATCH] linux-user: use libc wrapper instead of direct mremap syscall

2016-10-07 Thread Riku Voipio
On Fri, Sep 30, 2016 at 07:35:45PM -0700, Peter Maydell wrote: > On 30 September 2016 at 16:39, Felix Janda wrote: > > This commit essentially reverts commit > > 3af72a4d98dca033492102603734cbc63cd2694a, which has replaced > > five-argument calls to mremap() by direct mremap syscalls for > > compa

Re: [Qemu-devel] [PATCH] linux-user: use libc wrapper instead of direct mremap syscall

2016-09-30 Thread Peter Maydell
On 30 September 2016 at 16:39, Felix Janda wrote: > This commit essentially reverts commit > 3af72a4d98dca033492102603734cbc63cd2694a, which has replaced > five-argument calls to mremap() by direct mremap syscalls for > compatibility with glibc older than version 2.4. > > The direct syscall was bu

[Qemu-devel] [PATCH] linux-user: use libc wrapper instead of direct mremap syscall

2016-09-30 Thread Felix Janda
This commit essentially reverts commit 3af72a4d98dca033492102603734cbc63cd2694a, which has replaced five-argument calls to mremap() by direct mremap syscalls for compatibility with glibc older than version 2.4. The direct syscall was buggy for 64bit targets on 32bit hosts because of the default in