Re: [PATCH 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm
From: Jason Gunthorpe
Date: Mon Oct 05 2020 - 09:14:01 EST
On Mon, Oct 05, 2020 at 03:30:43AM +0200, Jann Horn wrote:
> But another place where lockdep asserts should be added is find_vma();
> there are currently several architectures that sometimes improperly
> call that with no lock held:
Yes, I've seen several cases of this mis-use in drivers too
Jason