Re: [PATCH v5.5 10/10] mmap locking API: rename mmap_sem to mmap_lock

From: Vlastimil Babka
Date: Mon May 18 2020 - 07:07:31 EST


On 4/24/20 3:39 AM, Michel Lespinasse wrote:
> Rename the mmap_sem field to mmap_lock. Any new uses of this lock
> should now go through the new mmap locking api. The mmap_lock is
> still implemented as a rwsem, though this could change in the future.
>
> Signed-off-by: Michel Lespinasse <walken@xxxxxxxxxx>

Except gpu/drm/etnaviv/etnaviv_gem.c all direct users remain in mm or arch/fault
code so that seems fine.


Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>


Any plan about all the code comments mentioning mmap_sem? :) Not urgent.