Re: [PATCH v8 18/27] mm: Introduce do_mmap_locked()

2019-08-20 Thread Yu-cheng Yu
On Mon, 2019-08-19 at 18:02 -0700, Sean Christopherson wrote: > On Tue, Aug 13, 2019 at 01:52:16PM -0700, Yu-cheng Yu wrote: > > There are a few places that need do_mmap() with mm->mmap_sem held. > > Create an in-line function for that. > > > > Signed-off-by: Yu-cheng Yu > > --- > > include/linu

Re: [PATCH v8 18/27] mm: Introduce do_mmap_locked()

2019-08-19 Thread Sean Christopherson
On Tue, Aug 13, 2019 at 01:52:16PM -0700, Yu-cheng Yu wrote: > There are a few places that need do_mmap() with mm->mmap_sem held. > Create an in-line function for that. > > Signed-off-by: Yu-cheng Yu > --- > include/linux/mm.h | 18 ++ > 1 file changed, 18 insertions(+) > > diff

[PATCH v8 18/27] mm: Introduce do_mmap_locked()

2019-08-13 Thread Yu-cheng Yu
There are a few places that need do_mmap() with mm->mmap_sem held. Create an in-line function for that. Signed-off-by: Yu-cheng Yu --- include/linux/mm.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index bc58585014c9..275c385f53