[PATCH 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm

Jason Gunthorpe jgg at nvidia.com
Mon Oct 5 08:52:16 EDT 2020


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



More information about the linux-um mailing list