]> www.infradead.org Git - users/willy/pagecache.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>
Mon, 18 Oct 2021 11:49:40 +0000 (07:49 -0400)
commit25ff8b15537dfa0e1a62d55cfcc48f3c8bd8a76c
treef50a324e290eec40bbe0876b2a901a1b20124856
parent9350f20a070d27a6c6a292a2b6f6091e7ea90a65
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