aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2021-02-24 12:07:36 -0800
committerLinus Torvalds <[email protected]>2021-02-24 13:38:33 -0800
commit8938494c8567ebd9ebf2a230e1707ee1f9805342 (patch)
tree531d73a2a6601b1c191c1eda9bd12f892627fd88 /tools/perf/scripts/python
parentbae84953815793f68ddd8edeadd3f4e32676a2c8 (diff)
hugetlb_cgroup: use helper pages_per_huge_page() in hugetlb_cgroup
We could use helper function pages_per_huge_page() to get the number of pages in a hstate to simplify the code slightly. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[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')
0 files changed, 0 insertions, 0 deletions