lkml.org 
[lkml]   [2021]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 31/46] mm/writeback: Add folio_clear_dirty_for_io()
On Wed, Jun 23, 2021 at 11:43:20AM +0200, Christoph Hellwig wrote:
> On Tue, Jun 22, 2021 at 01:15:36PM +0100, Matthew Wilcox (Oracle) wrote:
> > Transform clear_page_dirty_for_io() into folio_clear_dirty_for_io()
> > and add a compatibility wrapper. Also move the declaration to pagemap.h
> > as this is page cache functionality that doesn't need to be used by the
> > rest of the kernel.
> >
> > Increases the size of the kernel by 79 bytes. While we remove a few
> > calls to compound_head(), we add a call to folio_nr_pages() to get the
> > stats correct.
>
> ... for the eventual support of multi-page folios.

Added.

\
 
 \ /
  Last update: 2021-06-24 22:11    [W:0.176 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site