diff options
author | Muchun Song <songmuchun@bytedance.com> | 2023-12-05 06:08:53 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-12 21:57:08 +0300 |
commit | 49b960de6b323c34a79e6e92219fac31b12268a3 (patch) | |
tree | 439bac0a7835f7ef66e1b7e5e42e9d086d1b35bd /mm/internal.h | |
parent | 47e61d8874cca8070d4f9295819876c18b5207b2 (diff) | |
download | linux-49b960de6b323c34a79e6e92219fac31b12268a3.tar.xz |
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/internal.h')
0 files changed, 0 insertions, 0 deletions