Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-20 Thread Tim Chen
On 04/20/2018 03:19 PM, Jerome Glisse wrote: > On Fri, Apr 20, 2018 at 12:57:41PM -0700, Tim Chen wrote: >> On 04/04/2018 12:17 PM, jgli...@redhat.com wrote: >> >> >> Your approach seems useful if there are lots of locked pages sharing >> the same wait queue. >> >> That said, in the original

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-20 Thread Tim Chen
On 04/20/2018 03:19 PM, Jerome Glisse wrote: > On Fri, Apr 20, 2018 at 12:57:41PM -0700, Tim Chen wrote: >> On 04/04/2018 12:17 PM, jgli...@redhat.com wrote: >> >> >> Your approach seems useful if there are lots of locked pages sharing >> the same wait queue. >> >> That said, in the original

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-20 Thread Jerome Glisse
On Fri, Apr 20, 2018 at 12:57:41PM -0700, Tim Chen wrote: > On 04/04/2018 12:17 PM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc > > > > This is an RFC for LSF/MM discussions. It

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-20 Thread Jerome Glisse
On Fri, Apr 20, 2018 at 12:57:41PM -0700, Tim Chen wrote: > On 04/04/2018 12:17 PM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc > > > > This is an RFC for LSF/MM discussions. It impacts the file

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-20 Thread Tim Chen
On 04/04/2018 12:17 PM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc > > This is an RFC for LSF/MM discussions. It impacts the file subsystem, > the block subsystem and the mm subsystem.

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-20 Thread Tim Chen
On 04/04/2018 12:17 PM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc > > This is an RFC for LSF/MM discussions. It impacts the file subsystem, > the block subsystem and the mm subsystem. Hence it would benefit

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-19 Thread Jerome Glisse
On Thu, Apr 19, 2018 at 12:32:50PM +0200, Jan Kara wrote: > On Wed 18-04-18 11:54:30, Jerome Glisse wrote: [...] > > I am affraid truely generic write protection for metadata pages is bit > > out of scope of what i am doing. However the mechanism i am proposing > > can be extended for that too.

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-19 Thread Jerome Glisse
On Thu, Apr 19, 2018 at 12:32:50PM +0200, Jan Kara wrote: > On Wed 18-04-18 11:54:30, Jerome Glisse wrote: [...] > > I am affraid truely generic write protection for metadata pages is bit > > out of scope of what i am doing. However the mechanism i am proposing > > can be extended for that too.

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-19 Thread Jan Kara
On Wed 18-04-18 11:54:30, Jerome Glisse wrote: > > Overall I think you'd need to make a good benchmarking comparison showing > > how much this helps some real workloads (your motivation) and also how > > other loads on lower end machines are affected. > > Do you have any specific benchmark you

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-19 Thread Jan Kara
On Wed 18-04-18 11:54:30, Jerome Glisse wrote: > > Overall I think you'd need to make a good benchmarking comparison showing > > how much this helps some real workloads (your motivation) and also how > > other loads on lower end machines are affected. > > Do you have any specific benchmark you

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Darrick J. Wong
On Wed, Apr 18, 2018 at 11:54:30AM -0400, Jerome Glisse wrote: > On Wed, Apr 18, 2018 at 04:13:37PM +0200, Jan Kara wrote: > > Hello, > > > > so I finally got to this :) > > > > On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > > > From: Jérôme Glisse > > [...] > > > >

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Darrick J. Wong
On Wed, Apr 18, 2018 at 11:54:30AM -0400, Jerome Glisse wrote: > On Wed, Apr 18, 2018 at 04:13:37PM +0200, Jan Kara wrote: > > Hello, > > > > so I finally got to this :) > > > > On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > > > From: Jérôme Glisse > > [...] > > > >

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Jerome Glisse
On Wed, Apr 18, 2018 at 04:13:37PM +0200, Jan Kara wrote: > Hello, > > so I finally got to this :) > > On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > > From: Jérôme Glisse [...] > > -- > > The Why ?

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Jerome Glisse
On Wed, Apr 18, 2018 at 04:13:37PM +0200, Jan Kara wrote: > Hello, > > so I finally got to this :) > > On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > > From: Jérôme Glisse [...] > > -- > > The Why ? > > > > I have two

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Jan Kara
Hello, so I finally got to this :) On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > From: Jérôme Glisse > > https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc > > This is an RFC for LSF/MM discussions. It impacts the file subsystem, > the

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Jan Kara
Hello, so I finally got to this :) On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > From: Jérôme Glisse > > https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc > > This is an RFC for LSF/MM discussions. It impacts the file subsystem, > the block subsystem and

[RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-04 Thread jglisse
From: Jérôme Glisse https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc This is an RFC for LSF/MM discussions. It impacts the file subsystem, the block subsystem and the mm subsystem. Hence it would benefit from a cross sub-system discussion.

[RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-04 Thread jglisse
From: Jérôme Glisse https://cgit.freedesktop.org/~glisse/linux/log/?h=generic-write-protection-rfc This is an RFC for LSF/MM discussions. It impacts the file subsystem, the block subsystem and the mm subsystem. Hence it would benefit from a cross sub-system discussion. Patchset is not fully