Re: [PATCH v5 06/10] mmap locking API: convert nested write lock sites

2020-05-19 Thread Michel Lespinasse
On Mon, May 18, 2020 at 12:32:03PM +0200, Vlastimil Babka wrote: > On 4/22/20 2:14 AM, Michel Lespinasse wrote: > > Add API for nested write locks and convert the few call sites doing that. > > > > Signed-off-by: Michel Lespinasse > > Reviewed-by: Daniel Jordan > > Reviewed-by: Vlastimil Babka

Re: [PATCH v5 06/10] mmap locking API: convert nested write lock sites

2020-05-18 Thread Laurent Dufour
Le 22/04/2020 à 02:14, Michel Lespinasse a écrit : Add API for nested write locks and convert the few call sites doing that. Signed-off-by: Michel Lespinasse Reviewed-by: Daniel Jordan Reviewed-by: Laurent Dufour --- arch/um/include/asm/mmu_context.h | 3 ++- include/linux/mmap_lock.h

Re: [PATCH v5 06/10] mmap locking API: convert nested write lock sites

2020-05-18 Thread Vlastimil Babka
On 4/22/20 2:14 AM, Michel Lespinasse wrote: > Add API for nested write locks and convert the few call sites doing that. > > Signed-off-by: Michel Lespinasse > Reviewed-by: Daniel Jordan Reviewed-by: Vlastimil Babka Perhaps we could even move SINGLE_DEPTH_NESTING into the wrapper? It's