diff options
author | Kirill A. Shutemov <[email protected]> | 2017-08-25 15:55:33 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-08-25 16:12:46 -0700 |
commit | 435c0b87d661da83771c30ed775f7c37eed193fb (patch) | |
tree | fa01aec77d23c086e9f23650f12bc16ce94d5ff9 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 556b969a1cfe2686aae149137fa1dfcac0eefe54 (diff) |
mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled
/sys/kernel/mm/transparent_hugepage/shmem_enabled controls if we want
to allocate huge pages when allocate pages for private in-kernel shmem
mount.
Unfortunately, as Dan noticed, I've screwed it up and the only way to
make kernel allocate huge page for the mount is to use "force" there.
All other values will be effectively ignored.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 5a6e75f8110c ("shmem: prepare huge= mount option and sysfs knob")
Signed-off-by: Kirill A. Shutemov <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Cc: stable <[email protected]> [4.8+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions