]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/writeback: Add folio_account_redirty()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 3 May 2021 14:06:55 +0000 (10:06 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 15 Aug 2021 15:32:41 +0000 (11:32 -0400)
commit51fee42ac1edfc103cfd11c731df6b44a85aad7c
treeeddcd4b331f56f4f78da70025c3f9e57104415a2
parentb159d0975b0bae94fbff8a217ccbb0c30a65f9ca
mm/writeback: Add folio_account_redirty()

Account the number of pages in the folio that we're redirtying.
Turn account_page_dirty() into a wrapper around it.  Also turn
the comment on folio_account_redirty() into kernel-doc and
edit it slightly so it makes sense to its potential callers.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/writeback.h
mm/page-writeback.c