diff options
author | 2023-12-05 11:08:53 +0800 | |
---|---|---|
committer | 2023-12-12 10:57:08 -0800 | |
commit | 49b960de6b323c34a79e6e92219fac31b12268a3 (patch) | |
tree | 439bac0a7835f7ef66e1b7e5e42e9d086d1b35bd /mm/cma.c | |
parent | mm: hugetlb_vmemmap: add check of CONFIG_MEMORY_HOTPLUG back (diff) | |
download | wireguard-linux-49b960de6b323c34a79e6e92219fac31b12268a3.tar.xz wireguard-linux-49b960de6b323c34a79e6e92219fac31b12268a3.zip |
mm: hugetlb_vmemmap: move mmap lock to vmemmap_remap_range()
All the users of vmemmap_remap_range() will hold the mmap lock and release
it once it returns, it is naturally to move the lock to
vmemmap_remap_range() to simplify the code and the users.
Link: https://lkml.kernel.org/r/20231205030853.3921-1-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions