diff options
| author | Miaohe Lin <[email protected]> | 2021-02-24 12:07:46 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:33 -0800 |
| commit | aca78307bfdaf3f99e040616f41aab7f8a566dfc (patch) | |
| tree | 2f48a91e06bb03c56375ccc9db0d74228b0f495c /tools/perf/scripts/python/flamegraph.py | |
| parent | 3f1b0162f6f6ae8a9012819b07d433bd0ec37d25 (diff) | |
mm/hugetlb: use helper huge_page_size() to get hugepage size
We can use helper huge_page_size() to get the hugepage size directly to
simplify the code slightly.
[[email protected]: use helper huge_page_size() to get hugepage size]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions