diff options
| author | Eric B Munson <[email protected]> | 2009-09-21 17:03:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-22 07:17:42 -0700 |
| commit | 4e52780d41a741fb4861ae1df2413dd816ec11b1 (patch) | |
| tree | b3722349661ed0ce87841b110f568616892cf719 /tools/perf/scripts/python | |
| parent | 90f72aa58bbf076b68e289fbd71eb829bc505923 (diff) | |
hugetlb: 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 userspace. 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.
[[email protected]: fix arch definitions of MAP_HUGETLB]
Signed-off-by: Eric B Munson <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Adam Litke <[email protected]>
Cc: David Gibson <[email protected]>
Cc: Lee Schermerhorn <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions