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-08-03 09:05:00 +01:00
2008-10-10 16:32:29 +00:00
2009-03-13 01:18:56 -04:00
2009-07-03 03:34:13 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-06-11 21:02:14 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-01-14 19:56:50 -08:00
2008-10-10 16:32:29 +00:00
2009-04-02 02:42:53 +00:00
2009-01-05 19:11:05 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-01-29 18:19:29 -08:00
2009-07-03 03:34:06 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-04-02 04:16:24 +00:00
2008-10-10 16:32:29 +00:00
2009-06-07 05:01:00 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-03-31 02:51:34 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-20 14:40:31 -07:00
2009-03-13 01:20:48 -04:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-03-13 01:20:27 -04:00
2009-01-14 19:56:50 -08:00
2008-10-10 16:32:29 +00:00
2009-06-16 19:47:51 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-22 07:17:41 -07:00
2009-01-05 18:15:25 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-01-05 08:40:14 +10:30
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-06-11 21:02:17 +02:00
2008-10-10 16:32:29 +00:00
2008-11-26 22:22:41 +00:00
2008-10-10 16:32:29 +00:00
2009-09-09 13:29:18 -07:00
2008-10-10 16:32:29 +00:00
2009-04-02 00:20:15 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-21 14:28:04 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-03-31 02:51:33 +00:00
2008-10-10 16:32:29 +00:00
2008-11-26 22:22:36 +00:00
2008-10-10 16:32:29 +00:00
2009-07-03 03:34:11 +00:00
2008-10-10 16:32:29 +00:00
2008-11-30 11:00:15 -08:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-20 14:40:31 -07:00
2008-10-10 16:32:29 +00:00
2009-03-16 14:19:37 +10:30
2009-08-05 13:02:57 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-04-02 19:05:11 -07:00
2008-10-10 16:32:29 +00:00
2008-10-20 14:40:31 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-02-01 11:01:27 +05:30
2009-07-03 03:34:07 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-02 21:29:19 +10:00
2008-10-10 16:32:29 +00:00
2009-07-27 12:10:38 -07:00
2009-07-03 03:34:09 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-06-11 21:02:14 +02:00
2009-06-11 21:02:17 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2009-09-21 14:28:04 +02:00
2008-10-10 16:32:30 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00