* [Qemu-devel] linux-user 32/64 bit mremap() problem @ 2008-09-03 21:01 Vince Weaver 2008-09-04 4:59 ` Kirill A. Shutemov 0 siblings, 1 reply; 2+ messages in thread From: Vince Weaver @ 2008-09-03 21:01 UTC (permalink / raw) To: qemu-devel Hello This has been discuessed a year ago http://www.nabble.com/linux-user-mmap()-for-32-bit-guest-on-64-bit-host-td12934745.html http://osdir.com/ml/linux.ports.x86-64.general/2007-10/msg00007.html but hasn't really been resolved. The linux-user mremap() syscall implementation will return a 64-bit value when running on a 64-bit machine, even when the architecture being simulated is only 32-bits. Has any progress been made on this issue? I might try implementing the workaround the kernel people suggested. This actually prevents one of the perlbmk spec2k benchmarks from running with sparc32plus emulation on an x86_64 machine. Vince ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] linux-user 32/64 bit mremap() problem 2008-09-03 21:01 [Qemu-devel] linux-user 32/64 bit mremap() problem Vince Weaver @ 2008-09-04 4:59 ` Kirill A. Shutemov 0 siblings, 0 replies; 2+ messages in thread From: Kirill A. Shutemov @ 2008-09-04 4:59 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/plain, Size: 1014 bytes --] On Thu, Sep 4, 2008 at 12:01 AM, Vince Weaver <vince@csl.cornell.edu> wrote: > Hello > > This has been discuessed a year ago > > http://www.nabble.com/linux-user-mmap()-for-32-bit-guest-on-64-bit-host-td12934745.html<http://www.nabble.com/linux-user-mmap%28%29-for-32-bit-guest-on-64-bit-host-td12934745.html> > http://osdir.com/ml/linux.ports.x86-64.general/2007-10/msg00007.html > but hasn't really been resolved. > > The linux-user mremap() syscall implementation will return a 64-bit value > when running on a 64-bit machine, even when the architecture being simulated > is only 32-bits. > > Has any progress been made on this issue? I might try implementing the > workaround the kernel people suggested. > > This actually prevents one of the perlbmk spec2k benchmarks from running > with sparc32plus emulation on an x86_64 machine. > I have posted patch to the maillist witch add flag MAP_32BIT to mmap and mremap calls. It helps on x86_64 host, but other 64-bit host doesn't support this flag currently. [-- Attachment #2: Type: text/html, Size: 1505 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-04 4:59 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-09-03 21:01 [Qemu-devel] linux-user 32/64 bit mremap() problem Vince Weaver 2008-09-04 4:59 ` Kirill A. Shutemov
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).