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-11-06 10:25:09 -08:00
2009-06-11 21:02:17 +02:00
2008-11-06 10:25:09 -08:00
2009-01-07 11:56:29 -08:00
2009-06-11 21:02:14 +02:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-01-14 19:56:50 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-06-22 02:36:50 -07:00
2009-05-11 21:48:23 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:29 -07:00
2009-03-02 16:49:37 -05:00
2008-11-06 10:25:09 -08:00
2009-06-22 02:37:26 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-06-22 02:36:59 -07:00
2009-01-14 19:56:50 -08:00
2008-11-06 10:25:09 -08:00
2009-06-16 19:47:51 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-09-22 07:17:41 -07:00
2009-04-02 23:41:50 -07:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2009-04-02 23:41:50 -07:00
2009-06-11 21:02:17 +02:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2009-04-02 23:45:07 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-08-05 13:02:57 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-02-01 11:01:30 +05:30
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-07-10 14:24:05 -07:00
2009-05-11 22:00:11 -07:00
2009-07-27 12:10:38 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-11 06:14:10 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00