diff options
| author | Miaohe Lin <[email protected]> | 2022-08-16 21:05:48 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:25:54 -0700 |
| commit | a43a83c79b4fd36e297f97b7468be28fdf771d78 (patch) | |
| tree | 7b21711dce1f90f3206358d05a69a43f76e9acdc /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c959924b0dc53bf6252793f41480bc01b9792570 (diff) | |
mm/hugetlb: fix incorrect update of max_huge_pages
Patch series "A few fixup patches for hugetlb".
This series contains a few fixup patches to fix incorrect update of
max_huge_pages, fix WARN_ON(!kobj) in sysfs_create_group() and so on.
More details can be found in the respective changelogs.
This patch (of 6):
There should be pages_per_huge_page(h) /
pages_per_huge_page(target_hstate) pages incremented for
target_hstate->max_huge_pages when page is demoted. Update max_huge_pages
accordingly for consistency.
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: Muchun Song <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions