summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-02-06 09:15:15 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 08:06:04 +0300
commitdbb0020bbc2c9f563d68564b36d6e8d32f82008b (patch)
tree1e1b4502233e8dfb7516be60bb2c53c241cd7f1b /include/linux
parent4cc39f91ef6c6f876651eb231974a59ffbcb3a21 (diff)
downloadlinux-dbb0020bbc2c9f563d68564b36d6e8d32f82008b.tar.xz
mm/madvise: split out madvise input validity check
Split out the madvise parameters validation logic from do_madvise(), for easy reuse of the logic from a future change. Link: https://lkml.kernel.org/r/20250206061517.2958-3-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Liam R. Howlett <howlett@gmail.com> Cc: David Hildenbrand <david@redhat.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions