Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-06-12 Thread youling 257
today test linux kernel master branch, I have kernel/sys.c build error. can you make a fix patch and push to linus? 2020-06-04 16:38 GMT+08:00, Michel Lespinasse : > On Thu, Jun 4, 2020 at 1:16 AM youling 257 wrote: >> 2020-06-04 13:57 GMT+08:00, Michel Lespinasse : >> > However I would like more

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-06-04 Thread Michel Lespinasse
On Thu, Jun 4, 2020 at 1:16 AM youling 257 wrote: > 2020-06-04 13:57 GMT+08:00, Michel Lespinasse : > > However I would like more information about your report. Did you apply > > the series yourself ? If so, what base tree did you apply it onto ? If > > not, what tree did you use that already incl

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-06-04 Thread youling 257
2020-06-04 13:57 GMT+08:00, Michel Lespinasse : > On Wed, Jun 3, 2020 at 9:35 PM youling 257 wrote: >> I have build error about kernel/sys.c, >> >> kernel/sys.c: In function ‘prctl_set_vma’: >> kernel/sys.c:2392:18: error: >> ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean >> ‘mmap

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-06-04 Thread youling 257
i build linux next kernel have the kernel/sys.c error. 2020-06-04 13:57 GMT+08:00, Michel Lespinasse : > On Wed, Jun 3, 2020 at 9:35 PM youling 257 wrote: >> I have build error about kernel/sys.c, >> >> kernel/sys.c: In function ‘prctl_set_vma’: >> kernel/sys.c:2392:18: error: >> ‘struct mm_struc

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-06-03 Thread Michel Lespinasse
On Wed, Jun 3, 2020 at 9:35 PM youling 257 wrote: > I have build error about kernel/sys.c, > > kernel/sys.c: In function ‘prctl_set_vma’: > kernel/sys.c:2392:18: error: > ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean > ‘mmap_base’? > 2392 | down_write(&mm->mmap_sem); >

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-06-03 Thread youling 257
I have build error about kernel/sys.c, kernel/sys.c: In function ‘prctl_set_vma’: kernel/sys.c:2392:18: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’? 2392 | down_write(&mm->mmap_sem); | ^~~~ | mmap_

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-05-29 Thread Daniel Jordan
On Tue, May 19, 2020 at 10:29:06PM -0700, Michel Lespinasse wrote: > Rename the mmap_sem field to mmap_lock. Any new uses of this lock > should now go through the new mmap locking api. The mmap_lock is > still implemented as a rwsem, though this could change in the future. > > Signed-off-by: Miche

Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock

2020-05-22 Thread Davidlohr Bueso
On Tue, 19 May 2020, Michel Lespinasse wrote: Rename the mmap_sem field to mmap_lock. Any new uses of this lock should now go through the new mmap locking api. The mmap_lock is still implemented as a rwsem, though this could change in the future. Signed-off-by: Michel Lespinasse Reviewed-by: V