login
Header Space

 
 

Re: [PATCH] Inconsistent mmap()/mremap() flags

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: <linux-kernel@...>, <linux-mm@...>, <discuss@...>
Date: Tuesday, October 2, 2007 - 3:06 am

On Tue, 2007-10-02 at 07:15 +0200, Andi Kleen wrote:


Cool.  That's a much better solution for multiple reasons - like you
mention, MAP_32BIT is only 2GB as well as it's only available on x86_64.


Keeping a kernel happy isn't necessary since it's user-space emulation
rather than full emulation.  It is, however, useful to have 4GB rather
than 2GB.


Qemu has two modes: full hardware emulation and user-mode emulation.
User-mode emulation translates the user-mode code and then remaps the
system calls directly into the native kernel (that way all the kernel
and all the I/O runs natively and faster).  As far as mremap(), I'm
trying to get a 32bit arm mremap() emulated syscall mapped onto a 64bit
x86_64 mremap().

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Inconsistent mmap()/mremap() flags, Thayne Harbaugh, (Fri Sep 28, 1:46 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags, Andi Kleen, (Mon Oct 1, 7:13 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags, Thayne Harbaugh, (Mon Oct 1, 10:57 pm)
Re: [PATCH] Inconsistent mmap()/mremap() flags, Andi Kleen, (Tue Oct 2, 1:15 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags, Thayne Harbaugh, (Tue Oct 2, 3:06 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags, Hugh Dickins, (Tue Oct 2, 8:19 am)
Re: [discuss] [PATCH] Inconsistent mmap()/mremap() flags, Thayne Harbaugh, (Tue Oct 2, 11:21 am)
speck-geostationary