diff options
author | 2024-10-05 21:01:14 +0100 | |
---|---|---|
committer | 2024-11-07 14:38:07 -0800 | |
commit | 713da0b33b3e9d16272b57f4c44dee5c052be9b7 (patch) | |
tree | f14ecf143015a993a9bdecad7d5e434d962b9c84 /mm/vmscan.c | |
parent | mm: use page_pgoff() in more places (diff) | |
download | wireguard-linux-713da0b33b3e9d16272b57f4c44dee5c052be9b7.tar.xz wireguard-linux-713da0b33b3e9d16272b57f4c44dee5c052be9b7.zip |
mm: renovate page_address_in_vma()
This function doesn't modify any of its arguments, so if we make a few
other functions take const pointers, we can make page_address_in_vma()
take const pointers too. All of its callers have the containing folio
already, so pass that in as an argument instead of recalculating it. Also
add kernel-doc
Link: https://lkml.kernel.org/r/20241005200121.3231142-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions