Re: [PATCH v14 073/138] mm/writeback: Add folio_cancel_dirty()

From: David Howells
Date: Tue Aug 10 2021 - 17:23:57 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:

> Turn __cancel_dirty_page() into __folio_cancel_dirty() and add wrappers.
> Move the prototypes into pagemap.h since this is page cache functionality.
> Saves 44 bytes of kernel text in total; 33 bytes from __folio_cancel_dirty
> and 11 from two callers of cancel_dirty_page().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>