diff options
author | 2024-12-03 18:05:09 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:43 -0800 | |
commit | c7c643d98590bdc0531877079cd0825f7d33a848 (patch) | |
tree | 42b9099c8dc6bf721f2fffc78624c4d99f6edbe1 /mm/hugetlb.c | |
parent | mm/vma: move brk() internals to mm/vma.c (diff) | |
download | wireguard-linux-c7c643d98590bdc0531877079cd0825f7d33a848.tar.xz wireguard-linux-c7c643d98590bdc0531877079cd0825f7d33a848.zip |
mm/vma: move unmapped_area() internals to mm/vma.c
We want to be able to unit test the unmapped area logic, so move it to
mm/vma.c. The wrappers which invoke this remain in place in mm/mmap.c.
In addition, naturally, update the existing test code to enable this to be
compiled in userland.
Link: https://lkml.kernel.org/r/53a57a52a64ea54e9d129d2e2abca3a538022379.1733248985.git.lorenzo.stoakes@oracle.com
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Jann Horn <jannh@google.com>
Cc: Kees Cook <kees@kernel.org>
Cc: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions