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
..
2009-06-11 21:02:17 +02:00
2009-07-27 12:10:38 -07:00
2009-06-15 13:27:38 +10:00
2009-06-12 11:32:58 +02:00
2009-06-11 21:02:49 +02:00
2008-12-09 02:27:39 -05:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:31 +02:00
2009-06-11 21:02:14 +02:00
2009-05-06 16:36:09 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:51 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:37 +02:00
2009-07-22 00:28:38 +02:00
2008-07-26 12:00:03 -07:00
2009-08-10 09:34:57 +02:00
2009-06-11 21:02:42 +02:00
2009-06-03 14:06:14 -04:00
2009-06-11 21:02:37 +02:00
2009-03-26 18:14:14 +01:00
2009-06-11 21:02:17 +02:00
2009-04-02 19:04:51 -07:00
2009-06-19 14:58:09 +02:00
2009-06-11 21:02:42 +02:00
2009-06-11 21:02:14 +02:00
2009-06-11 21:02:14 +02:00
2009-06-11 21:02:49 +02:00
2008-08-12 16:07:31 -07:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:16 +02:00
2009-09-10 10:46:47 +03:00
2008-10-27 11:39:03 +01:00
2009-06-17 13:06:17 +02:00
2009-06-11 21:02:37 +02:00
2009-05-18 08:34:08 -07:00
2009-01-06 15:59:10 -08:00
2009-09-22 07:17:31 -07:00
2009-09-22 07:17:41 -07:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2008-10-23 09:18:20 -07:00
2008-10-23 09:18:20 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2008-07-26 12:00:03 -07:00
2009-09-09 13:29:18 -07:00
2009-09-04 07:10:31 +02:00
2009-06-11 21:02:50 +02:00
2009-07-27 12:10:38 -07:00
2009-07-27 12:10:38 -07:00
2009-06-23 14:34:30 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:18 +02:00
2009-06-11 21:02:37 +02:00
2009-06-18 13:03:57 -07:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2009-04-13 15:04:30 -07:00
2009-06-11 21:01:52 +02:00
2009-06-11 21:02:15 +02:00
2009-08-05 13:02:57 -07:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2009-03-26 18:14:21 +01:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2008-09-05 14:39:38 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:01:52 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2009-07-27 12:10:38 -07:00
2009-06-11 21:02:50 +02:00
2009-03-30 22:05:17 +10:30
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:17 +02:00
2009-06-19 14:58:08 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2009-09-21 14:28:04 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:42 +02:00
2009-09-17 20:53:10 +02:00