aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2016-09-23 20:21:56 -0700
committerLinus Torvalds <[email protected]>2016-09-24 11:20:01 -0700
commit3089bf614c7e2fd441ee001e3ff3d18326f6f091 (patch)
treeb16cd2c7b0213c55dfe2d8b867e54745b403a861 /tools/perf/scripts/python/export-to-postgresql.py
parent3be7988674ab33565700a37b210f502563d932e6 (diff)
shmem: fix tmpfs to handle the huge= option properly
shmem_get_unmapped_area() checks SHMEM_SB(sb)->huge incorrectly, which leads to a reversed effect of "huge=" mount option. Fix the check in shmem_get_unmapped_area(). Note, the default value of SHMEM_SB(sb)->huge remains as SHMEM_HUGE_NEVER. User will need to specify "huge=" option to enable huge page mappings. Reported-by: Hillf Danton <[email protected]> Signed-off-by: Toshi Kani <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Hugh Dickins <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions