Re: [PATCH] mm: mmap: remove verify_mm_writelocked()

From: David Rientjes
Date: Wed Nov 14 2018 - 17:27:03 EST


On Thu, 8 Nov 2018, Yangtao Li wrote:

> We should get rid of this function. It no longer serves its purpose.This
> is a historical artifact from 2005 where do_brk was called outside of
> the core mm.We do have a proper abstraction in vm_brk_flags and that one
> does the locking properly.So there is no need to use this function.
>
> Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>