Re: [PATCH v4 08/10] mmap locking API: add MMAP_LOCK_INITIALIZER

From: Daniel Jordan
Date: Mon Apr 20 2020 - 14:24:58 EST


On Tue, Apr 14, 2020 at 05:43:51PM -0700, Michel Lespinasse wrote:
> Define a new initializer for the mmap locking api.
> Initially this just evaluates to __RWSEM_INITIALIZER as the API
> is defined as wrappers around rwsem.

Shouldn't this take mm as the argument like the other stuff in mmap_lock.h?