diff options
author | 2024-03-27 19:06:59 +0000 | |
---|---|---|
committer | 2024-04-25 20:56:24 -0700 | |
commit | ba168b52bf8ecb877af294769b0ab32b06bd9293 (patch) | |
tree | eba3355bc79ecfd5baf11483f3a3355142b893e0 /fs/userfaultfd.c | |
parent | mm: allow anon exclusive check over hugetlb tail pages (diff) | |
download | wireguard-linux-ba168b52bf8ecb877af294769b0ab32b06bd9293.tar.xz wireguard-linux-ba168b52bf8ecb877af294769b0ab32b06bd9293.zip |
mm: use rwsem assertion macros for mmap_lock
This slightly strengthens our write assertion when lockdep is disabled.
It also downgrades us from BUG_ON to WARN_ON, but I think that's an
improvement. I don't think dumping the mm_struct was all that valuable;
the call chain is what's important.
Link: https://lkml.kernel.org/r/20240327190701.1082560-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions