]> Git Repo - linux.git/commit
mm: use rwsem assertion macros for mmap_lock
authorMatthew Wilcox (Oracle) <[email protected]>
Wed, 27 Mar 2024 19:06:59 +0000 (19:06 +0000)
committerAndrew Morton <[email protected]>
Fri, 26 Apr 2024 03:56:24 +0000 (20:56 -0700)
commitba168b52bf8ecb877af294769b0ab32b06bd9293
treeeba3355bc79ecfd5baf11483f3a3355142b893e0
parentc0bff412e67b781d761e330ff9578aa9ed2be79e
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/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
include/linux/mmap_lock.h
This page took 0.057089 seconds and 4 git commands to generate.