| Date | Thu, 26 Mar 2020 21:48:30 -0700 | From | Davidlohr Bueso <> | Subject | Re: [PATCH v2 09/10] mmap locking API: use lockdep_assert_held |
| |
On Thu, 26 Mar 2020, Michel Lespinasse wrote:
>Use lockdep_assert_held when asserting that mmap_sem is held. > >Using this instead of rwsem_is_locked makes the assertions more >tolerant of future changes to the lock type.
Not opposing here, just worth mentioning that the coverage surface is greatly reduced, lockdep not being very popular in production.
Thanks, Davidlohr
|