diff options
| author | Miaohe Lin <[email protected]> | 2021-05-04 18:34:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:21 -0700 |
| commit | fef792a4fdb9b2d9d3d5c36aaa85f768f456a4d7 (patch) | |
| tree | 9e24c037cb8ab5637bdc9ff271d59e63285c2e6e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 89dc6a9682919dbd64213c630a71eedaa021d7e5 (diff) | |
khugepaged: use helper function range_in_vma() in collapse_pte_mapped_thp()
Patch series "Cleanup for khugepaged".
This series contains cleanups to remove unnecessary out label and
meaningless !pte_present() check. Also use helper function to simplify
the code. More details can be found in the respective changelogs.
This patch (of 3):
We could use helper function range_in_vma() to check whether the desired
range is inside the vma to simplify the code.
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: Zi Yan <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[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