Re: [PATCH 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm
From: Jason Gunthorpe
Date: Fri Oct 02 2020 - 07:39:49 EST
On Fri, Oct 02, 2020 at 02:17:49AM -0700, Michel Lespinasse wrote:
> Also FYI I was going to play with these patches a bit to help answer
> these questions on my own, but wasn't able to easily apply them as
> they came lightly mangled (whitespace issues) when I saved them.
Me too
It seems OK, you've created sort of a SINGLE_DEPTH_NESTING but in
reverse - instead of marking the child of the nest it marks the
parent.
It would be nice to add a note in the commit message where the nesting
happens on this path.
Thanks,
Jason