diff options
author | Lokesh Gidra <lokeshgidra@google.com> | 2024-02-15 10:27:55 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 15:27:20 -0800 |
commit | 32af81af2f6f4c23b1b4ff68410e91da660af102 (patch) | |
tree | ebe0f57d6b91a514bb6e8ae3ea3de6cfe8725c6a /include/net/dst_cache.h | |
parent | 5e4c24a57b0c126686534b5b159a406c5dd02400 (diff) | |
download | linux-stable-32af81af2f6f4c23b1b4ff68410e91da660af102.tar.gz linux-stable-32af81af2f6f4c23b1b4ff68410e91da660af102.tar.bz2 linux-stable-32af81af2f6f4c23b1b4ff68410e91da660af102.zip |
mm: add vma_assert_locked() for !CONFIG_PER_VMA_LOCK
vma_assert_locked() is needed to replace mmap_assert_locked() once we
start using per-vma locks in userfaultfd operations.
In !CONFIG_PER_VMA_LOCK case when mm is locked, it implies that the given
VMA is locked.
Link: https://lkml.kernel.org/r/20240215182756.3448972-4-lokeshgidra@google.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Tim Murray <timmurray@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/net/dst_cache.h')
0 files changed, 0 insertions, 0 deletions