summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-03-12 09:47:50 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 22:07:04 -0700
commitbe9258a6bf26d2272856214406721762a21aab1b (patch)
tree01baf572e2c64fb399efb9613b10232bd4684f45 /mm/vmscan.c
parent0a6ffacb3b42233fe44e0faedfcc8e83f9ad99c6 (diff)
mm/madvise: remove len parameter of madvise_do_behavior()
Because madise_should_skip() logic is factored out, making madvise_do_behavior() calculates 'len' on its own rather then receiving it as a parameter makes code simpler. Remove the parameter. Link: https://lkml.kernel.org/r/20250312164750.59215-5-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev> Cc: David Hildenbrand <david@redhat.com> Cc: Liam R. Howlett <howlett@gmail.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions