[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210804152148.GI543798@ziepe.ca>
Date: Wed, 4 Aug 2021 12:21:48 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Jann Horn <jannh@...gle.com>
Cc: Liam Howlett <liam.howlett@...cle.com>,
Luigi Rizzo <lrizzo@...gle.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
David Rientjes <rientjes@...gle.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: [PATCH] Add mmap_assert_locked() annotations to find_vma*()
On Wed, Aug 04, 2021 at 04:42:23PM +0200, Jann Horn wrote:
> Since I haven't sent a new version of my old series for almost a year,
> I think it'd be fine to take Luigi's patch for now, and undo it at a
> later point when/if we want to actually use proper locking here
> because we're worried about concurrent access to the MM.
IIRC one of the major points of that work was not "proper locking" but
to have enough locking to be complatible with lockdep so we could add
assertions like in get_user_pages and find_vma.
Jason
Powered by blists - more mailing lists