add MCL_ONFAULT and MLOCK_ONFAULT mlockall and mlock2 flags
authorSzabolcs Nagy <nsz@port70.net>
Sun, 24 Jan 2016 01:19:38 +0000 (01:19 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 26 Jan 2016 23:31:05 +0000 (18:31 -0500)
commit789ff6a9f8ec91729cde7fdcb0568d5d928eeba5
tree2e7b75b6a7845486d033701140794536bd32e07e
parent51d5f139ca9e79d621a396542dde5b8cd76c5c3f
add MCL_ONFAULT and MLOCK_ONFAULT mlockall and mlock2 flags

they lock faulted pages into memory (useful when a small part of a
large mapped file needs efficient access), new in linux v4.4, commit
b0f205c2a3082dd9081f9a94e50658c5fa906ff1

MLOCK_* is not in the POSIX reserved namespace for sys/mman.h
arch/aarch64/bits/mman.h
arch/arm/bits/mman.h
arch/i386/bits/mman.h
arch/microblaze/bits/mman.h
arch/mips/bits/mman.h
arch/or1k/bits/mman.h
arch/powerpc/bits/mman.h
arch/sh/bits/mman.h
arch/x32/bits/mman.h
arch/x86_64/bits/mman.h
include/sys/mman.h