diff options
author | Suren Baghdasaryan <surenb@google.com> | 2025-08-05 02:33:48 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-14 02:54:43 +0300 |
commit | cc483b328881bbccb55265a86731384d5176fe85 (patch) | |
tree | ede40bcaa97001785f8405faf2ee095478c70fc3 /rust/helpers/vmalloc.c | |
parent | 35edbaa04a460531862d3f00c1c2bb0d5e45cd5d (diff) | |
download | linux-cc483b328881bbccb55265a86731384d5176fe85.tar.xz |
mm: limit the scope of vma_start_read()
Limit the scope of vma_start_read() as it is used only as a helper for
higher-level locking functions implemented inside mmap_lock.c and we are
about to introduce more complex RCU rules for this function. The change
is pure code refactoring and has no functional changes.
Link: https://lkml.kernel.org/r/20250804233349.1278678-1-surenb@google.com
Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Jann Horn <jannh@google.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions