diff options
| author | Jörn Engel <[email protected]> | 2013-07-08 16:00:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:24 -0700 |
| commit | 493af578040e690f93f0fc8d9e7667ffff8155bb (patch) | |
| tree | e49d75486f13a427edf6ea89486bb4b2298e9c2f /tools/perf/scripts/python | |
| parent | 918fc718c5922520c499ad60f61b8df86b998ae9 (diff) | |
mmap: allow MAP_HUGETLB for hugetlbfs files v2
It is counterintuitive at best that mmap'ing a hugetlbfs file with
MAP_HUGETLB fails, while mmap'ing it without will a) succeed and b)
return huge pages.
v2: use is_file_hugepages(), as suggested by Jianguo
Signed-off-by: Joern Engel <[email protected]>
Cc: Jianguo Wu <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions