[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1796499.1628609745@warthog.procyon.org.uk>
Date: Tue, 10 Aug 2021 16:35:45 +0100
From: David Howells <dhowells@...hat.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
Vlastimil Babka <vbabka@...e.cz>,
William Kucharski <william.kucharski@...cle.com>,
Christoph Hellwig <hch@....de>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: Re: [PATCH v14 023/138] mm/swap: Add folio_rotate_reclaimable()
Matthew Wilcox (Oracle) <willy@...radead.org> wrote:
> Convert rotate_reclaimable_page() to folio_rotate_reclaimable(). This
> eliminates all five of the calls to compound_head() in this function,
> saving 75 bytes at the cost of adding 15 bytes to its one caller,
> end_page_writeback(). We also save 36 bytes from pagevec_move_tail_fn()
> due to using folios there. Net 96 bytes savings.
>
> Also move its declaration to mm/internal.h as it's only used by filemap.c.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> Acked-by: Vlastimil Babka <vbabka@...e.cz>
> Reviewed-by: William Kucharski <william.kucharski@...cle.com>
> Reviewed-by: Christoph Hellwig <hch@....de>
> Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
Reviewed-by: David Howells <dhowells@...hat.com>
Powered by blists - more mailing lists