90f72aa58b
Add a flag for mmap that will be used to request a huge page region that will look like anonymous memory to user space. This is accomplished by using a file on the internal vfsmount. MAP_HUGETLB is a modifier of MAP_ANONYMOUS and so must be specified with it. The region will behave the same as a MAP_ANONYMOUS region using small pages. The patch also adds the MAP_STACK flag, which was previously defined only on some architectures but not on others. Since MAP_STACK is meant to be a hint only, architectures can define it without assigning a specific meaning to it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Eric B Munson <ebmunson@us.ibm.com> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: David Rientjes <rientjes@google.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
atomic.h | ||
auxvec.h | ||
bitops.h | ||
bitsperlong.h | ||
bug.h | ||
bugs.h | ||
busctl-regs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
cpu-regs.h | ||
cputime.h | ||
current.h | ||
delay.h | ||
device.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
dmactl-regs.h | ||
elf.h | ||
emergency-restart.h | ||
errno.h | ||
exceptions.h | ||
fb.h | ||
fcntl.h | ||
fpu.h | ||
frame.inc | ||
ftrace.h | ||
futex.h | ||
gdb-stub.h | ||
hardirq.h | ||
highmem.h | ||
hw_irq.h | ||
intctl-regs.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
ipc.h | ||
ipcbuf.h | ||
irq_regs.h | ||
irq.h | ||
Kbuild | ||
kdebug.h | ||
kmap_types.h | ||
kprobes.h | ||
linkage.h | ||
local.h | ||
mc146818rtc.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
msgbuf.h | ||
mutex.h | ||
nmi.h | ||
page_offset.h | ||
page.h | ||
param.h | ||
pci.h | ||
percpu.h | ||
pgalloc.h | ||
pgtable.h | ||
pio-regs.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
ptrace.h | ||
reset-regs.h | ||
resource.h | ||
rtc-regs.h | ||
rtc.h | ||
scatterlist.h | ||
sections.h | ||
sembuf.h | ||
serial-regs.h | ||
serial.h | ||
setup.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
spinlock.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
swab.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer-regs.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vga.h | ||
xor.h |