Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537747

Re: [Question] New mmap64 syscall?

From Florian Weimer <fweimer@redhat.com>
Newsgroups linux.kernel
Subject Re: [Question] New mmap64 syscall?
Date 2016-12-07 14:30 +0100
Message-ID <sLKsh-BZ-11@gated-at.bofh.it> (permalink)
References <sLvtf-7oy-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/06/2016 07:54 PM, Yury Norov wrote:
> 3. Introduce new mmap64() syscall like this:
> sys_mmap64(void *addr, size_t len, int prot, int flags, int fd, struct off_pair *off);
> (The pointer here because otherwise we have 7 args, if simply pass off_hi and
> off_lo in registers.)

I would prefer a batched mmap/munmap/mremap/mprotect/madvise interface, 
so that VM changes can be coalesced and the output reduced.  This 
interface could then be used to implement mmap on 32-bit architectures 
as well because the offset restrictions would not apply there.

Thanks,
Florian

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [Question] New mmap64 syscall? Florian Weimer <fweimer@redhat.com> - 2016-12-07 14:30 +0100
  Re: [Question] New mmap64 syscall? Florian Weimer <fweimer@redhat.com> - 2016-12-08 17:00 +0100

csiph-web