Re: [PATCH v3 5/8] proc/kcore: hold lock during read

2018-07-25 Thread Omar Sandoval
On Wed, Jul 25, 2018 at 12:11:26AM +0900, Tetsuo Handa wrote: > On 2018/07/19 7:58, Omar Sandoval wrote: > > From: Omar Sandoval > > > > Now that we're using an rwsem, we can hold it during the entirety of > > read_kcore() and have a common return path. This is preparation for the > > next

Re: [PATCH v3 5/8] proc/kcore: hold lock during read

2018-07-25 Thread Omar Sandoval
On Wed, Jul 25, 2018 at 12:11:26AM +0900, Tetsuo Handa wrote: > On 2018/07/19 7:58, Omar Sandoval wrote: > > From: Omar Sandoval > > > > Now that we're using an rwsem, we can hold it during the entirety of > > read_kcore() and have a common return path. This is preparation for the > > next

Re: [PATCH v3 5/8] proc/kcore: hold lock during read

2018-07-24 Thread Tetsuo Handa
On 2018/07/19 7:58, Omar Sandoval wrote: > From: Omar Sandoval > > Now that we're using an rwsem, we can hold it during the entirety of > read_kcore() and have a common return path. This is preparation for the > next change. > > Signed-off-by: Omar Sandoval > --- > fs/proc/kcore.c | 70

Re: [PATCH v3 5/8] proc/kcore: hold lock during read

2018-07-24 Thread Tetsuo Handa
On 2018/07/19 7:58, Omar Sandoval wrote: > From: Omar Sandoval > > Now that we're using an rwsem, we can hold it during the entirety of > read_kcore() and have a common return path. This is preparation for the > next change. > > Signed-off-by: Omar Sandoval > --- > fs/proc/kcore.c | 70

[PATCH v3 5/8] proc/kcore: hold lock during read

2018-07-18 Thread Omar Sandoval
From: Omar Sandoval Now that we're using an rwsem, we can hold it during the entirety of read_kcore() and have a common return path. This is preparation for the next change. Signed-off-by: Omar Sandoval --- fs/proc/kcore.c | 70 - 1 file

[PATCH v3 5/8] proc/kcore: hold lock during read

2018-07-18 Thread Omar Sandoval
From: Omar Sandoval Now that we're using an rwsem, we can hold it during the entirety of read_kcore() and have a common return path. This is preparation for the next change. Signed-off-by: Omar Sandoval --- fs/proc/kcore.c | 70 - 1 file