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