aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorLorenzo Stoakes <[email protected]>2024-10-25 12:26:24 +0000
committerAndrew Morton <[email protected]>2024-11-07 04:11:19 +0000
commit52956b0d7fb92e3b39513dda91951ca419afc63a (patch)
tree323fad66b68954ff3678025ac7d18766bc312384 /arch/powerpc/lib/code-patching.c
parenttools: testing: add additional vma_internal.h stubs (diff)
downloadkernel-52956b0d7fb92e3b39513dda91951ca419afc63a.tar.gz
kernel-52956b0d7fb92e3b39513dda91951ca419afc63a.zip
mm: isolate mmap internal logic to mm/vma.c
In previous commits we effected improvements to the mmap() logic in mmap_region() and its newly introduced internal implementation function __mmap_region(). However as these changes are intended to be backported, we kept the delta as small as is possible and made as few changes as possible to the newly introduced mm/vma.* files. Take the opportunity to move this logic to mm/vma.c which not only isolates it, but also makes it available for later userland testing which can help us catch such logic errors far earlier. Link: https://lkml.kernel.org/r/93fc2c3aa37dd30590b7e4ee067dfd832007bf7e.1729858176.git.lorenzo.stoakes@oracle.com Signed-off-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Vlastimil Babka <[email protected]> Cc: Jann Horn <[email protected]> Cc: Liam R. Howlett <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Xu <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions