diff options
| author | Baoquan He <bhe@redhat.com> | 2025-02-05 12:27:11 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-17 08:06:05 +0300 |
| commit | cd57a3fb37f91ef6106bc970d2b5c5878d3b5627 (patch) | |
| tree | 8fa56b03b38062c0514ac7c67f489ae42badd931 /include/linux | |
| parent | 81fe88a946051f1dceef72fb3f87bb0880392464 (diff) | |
| download | linux-cd57a3fb37f91ef6106bc970d2b5c5878d3b5627.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
