summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-hardirq.h
diff options
context:
space:
mode:
authorJörn Engel <joern@logfs.org>2013-07-09 01:00:26 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 19:33:24 +0200
commit493af578040e690f93f0fc8d9e7667ffff8155bb (patch)
treee49d75486f13a427edf6ea89486bb4b2298e9c2f /lib/locking-selftest-hardirq.h
parentmm: vmscan: do not scale writeback pages when deciding whether to set ZONE_WR... (diff)
downloadlinux-493af578040e690f93f0fc8d9e7667ffff8155bb.tar.xz
linux-493af578040e690f93f0fc8d9e7667ffff8155bb.zip
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 <joern@logfs.org> Cc: Jianguo Wu <wujianguo@huawei.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions