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

Davidlohr Bueso
2021-05-11T21:11:55Z

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@Oracle.com>

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