[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1811141420110.212061@chino.kir.corp.google.com>
Date: Wed, 14 Nov 2018 14:20:22 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Yangtao Li <tiny.windzz@...il.com>
cc: akpm@...ux-foundation.org, mhocko@...e.com,
dan.j.williams@...el.com, linux@...inikbrodowski.net,
dave.hansen@...ux.intel.com, dwmw@...zon.co.uk, mhocko@...nel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: mmap: remove verify_mm_writelocked()
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@...il.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists