]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/writeback: Add __folio_mark_dirty()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 4 May 2021 15:01:10 +0000 (11:01 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 15 Aug 2021 03:09:38 +0000 (23:09 -0400)
commitaa4c6098025ee45607e0cef707619dabea146c55
treef9fd3a7748064c9747723c9b1172f750ddd605fd
parent269b0bf991ba4c2741b2f539e14578b1464103db
mm/writeback: Add __folio_mark_dirty()

Turn __set_page_dirty() into a wrapper around __folio_mark_dirty().
Convert account_page_dirtied() into folio_account_dirtied() and account
the number of pages in the folio to support multi-page folios.

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