[PATCH] mm/mmap: Introduce unlock_range() for code cleanup

Davidlohr Bueso dave at stgolabs.net
Tue May 11 14:11:42 PDT 2021


On Mon, 10 May 2021, Liam Howlett wrote:

>Both __do_munmap() and exit_mmap() unlock a range of VMAs using almost
>identical code blocks.  Replace both blocks by a static inline function.
>
>Signed-off-by: Liam R. Howlett <Liam.Howlett at Oracle.com>

Reviewed-by: Davidlohr Bueso <dbueso at suse.de>



More information about the maple-tree mailing list