Thread (170 messages) 170 messages, 19 authors, 2012-09-16

Re: [PATCH v2 17/31] arm64: System calls handling

From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-09-03 12:40:01
Also in: linux-arm-kernel, lkml

On Monday 03 September 2012, Catalin Marinas wrote:
I forgot about this at the KS and we haven't got to a clear conclusion.

Do we (1) stick with the sys_mmap() for 64-bit systems and avoid offset
conversion in both glibc and kernel or (2) use sys_mmap2() with a 12
shift in glibc and (PAGE_SHIFT - 12) in the kernel wrapper?

I personally prefer (1) as it doesn't require a kernel wrapper and we
avoid the double shifting. 
Yes, I think it's ok this way.
A reason for (2) would be if we ever need file offsets greater than 16EB.
Let's not worry about this for now, all the other architectures will
have the same problem when we get there.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help