diff options
author | Lorenzo Stoakes <lstoakes@gmail.com> | 2023-10-11 19:04:29 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-18 23:34:18 +0200 |
commit | adb20b0c785e9e8d5e4d4a07b9c3340d7de0e5dc (patch) | |
tree | 25a301c72d801bfc140693a630ee70a1381dc61b /fs/namespace.c | |
parent | mm: abstract the vma_merge()/split_vma() pattern for mprotect() et al. (diff) | |
download | linux-adb20b0c785e9e8d5e4d4a07b9c3340d7de0e5dc.tar.xz linux-adb20b0c785e9e8d5e4d4a07b9c3340d7de0e5dc.zip |
mm: make vma_merge() and split_vma() internal
Now the common pattern of - attempting a merge via vma_merge() and should
this fail splitting VMAs via split_vma() - has been abstracted, the former
can be placed into mm/internal.h and the latter made static.
In addition, the split_vma() nommu variant also need not be exported.
Link: https://lkml.kernel.org/r/405f2be10e20c4e9fbcc9fe6b2dfea105f6642e0.1697043508.git.lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions