Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-06-01 Thread Daniel Vetter
On Tue, Jun 01, 2021 at 03:30:30PM +0100, Matthew Wilcox wrote: > On Tue, Jun 01, 2021 at 04:10:32PM +0200, Daniel Vetter wrote: > > On Sun, May 30, 2021 at 10:14:22PM +0100, Matthew Wilcox wrote: > > > On Sun, May 30, 2021 at 12:13:05PM -0700, Nathan Chancellor wrote: > > > > Hi Matthew, > > > >

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-06-01 Thread Matthew Wilcox
On Tue, Jun 01, 2021 at 04:10:32PM +0200, Daniel Vetter wrote: > On Sun, May 30, 2021 at 10:14:22PM +0100, Matthew Wilcox wrote: > > On Sun, May 30, 2021 at 12:13:05PM -0700, Nathan Chancellor wrote: > > > Hi Matthew, > > > > > > On Wed, Mar 10, 2021 at 06:55:30PM +, Matthew Wilcox (Oracle) wr

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-06-01 Thread Daniel Vetter
On Sun, May 30, 2021 at 10:14:22PM +0100, Matthew Wilcox wrote: > On Sun, May 30, 2021 at 12:13:05PM -0700, Nathan Chancellor wrote: > > Hi Matthew, > > > > On Wed, Mar 10, 2021 at 06:55:30PM +, Matthew Wilcox (Oracle) wrote: > > > There's no need to give the page an address_space. Leaving th

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-05-30 Thread Nathan Chancellor
On 5/30/2021 2:14 PM, Matthew Wilcox wrote: On Sun, May 30, 2021 at 12:13:05PM -0700, Nathan Chancellor wrote: Hi Matthew, On Wed, Mar 10, 2021 at 06:55:30PM +, Matthew Wilcox (Oracle) wrote: There's no need to give the page an address_space. Leaving the page->mapping as NULL will cause t

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-05-30 Thread Matthew Wilcox
On Sun, May 30, 2021 at 12:13:05PM -0700, Nathan Chancellor wrote: > Hi Matthew, > > On Wed, Mar 10, 2021 at 06:55:30PM +, Matthew Wilcox (Oracle) wrote: > > There's no need to give the page an address_space. Leaving the > > page->mapping as NULL will cause the VM to handle set_page_dirty() >

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-03-12 Thread Daniel Vetter
On Wed, Mar 10, 2021 at 06:55:30PM +, Matthew Wilcox (Oracle) wrote: > There's no need to give the page an address_space. Leaving the > page->mapping as NULL will cause the VM to handle set_page_dirty() > the same way that it's handled now, and that was the only reason to > set the address_spa

Re: [PATCH v2] fb_defio: Remove custom address_space_operations

2021-03-10 Thread William Kucharski
Looks good; my apologies for missing the leftover declaration of struct page in the same routine which you also found and removed this time around. > On Mar 10, 2021, at 11:55 AM, Matthew Wilcox (Oracle) > wrote: > > There's no need to give the page an address_space. Leaving the > page->mappi

[PATCH v2] fb_defio: Remove custom address_space_operations

2021-03-10 Thread Matthew Wilcox (Oracle)
There's no need to give the page an address_space. Leaving the page->mapping as NULL will cause the VM to handle set_page_dirty() the same way that it's handled now, and that was the only reason to set the address_space in the first place. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Chri