Arnd Bergmann
90f72aa58b
mm: add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions
...
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>
2009-09-22 07:17:41 -07:00
..
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-06-11 21:02:17 +02:00
2008-08-05 13:35:07 +02:00
2009-01-01 10:12:16 +10:30
2009-06-11 21:02:14 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-01-14 19:56:50 -08:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-10-16 15:40:05 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-03-02 16:49:37 -05:00
2008-08-05 13:35:07 +02:00
2008-08-05 14:36:57 +02:00
2009-02-12 11:19:05 -05:00
2009-05-13 16:53:48 +02:00
2008-10-08 18:44:57 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 14:36:57 +02:00
2008-08-05 13:35:07 +02:00
2009-01-14 19:56:50 -08:00
2009-01-07 10:40:30 +01:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-09-22 07:17:41 -07:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-07-27 12:10:38 -07:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-06-11 21:01:52 +02:00
2009-08-05 13:02:57 -07:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-02-01 11:01:23 +05:30
2009-01-07 11:28:15 +01:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-06-11 21:01:52 +02:00
2009-09-02 21:29:19 +10:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2009-01-16 09:38:05 +01:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00
2008-08-05 13:35:07 +02:00