diff options
| author | Baoquan He <bhe@redhat.com> | 2025-02-05 17:27:11 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-16 22:06:05 -0700 |
| commit | cd57a3fb37f91ef6106bc970d2b5c5878d3b5627 (patch) | |
| tree | 8fa56b03b38062c0514ac7c67f489ae42badd931 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 81fe88a946051f1dceef72fb3f87bb0880392464 (diff) | |
| download | linux-cd57a3fb37f91ef6106bc970d2b5c5878d3b5627.tar.gz linux-cd57a3fb37f91ef6106bc970d2b5c5878d3b5627.zip | |
mm/swap_state.c: optimize the code in clear_shadow_from_swap_cache()
Use ALIGN to achieve the same effect and simplify the code.
Link: https://lkml.kernel.org/r/20250205092721.9395-3-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
