]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/madvise: split out madvise() behavior execution
authorSeongJae Park <sj@kernel.org>
Thu, 6 Feb 2025 06:15:16 +0000 (22:15 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 00:59:47 +0000 (16:59 -0800)
commit22f753a6148756a9e7ce7630f45965b10cec130b
tree41a1aba0650c26242b152ccf26d6184f853537d1
parent52631655b648dd5bcb405814e6f15f24876ce328
mm/madvise: split out madvise() behavior execution

Split out the madvise behavior applying logic from do_madvise() to make
it easier to reuse from the following change.

Link: https://lkml.kernel.org/r/20250206061517.2958-4-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: Liam R. Howlett <howlett@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/madvise.c