lkml.org 
[lkml]   [2021]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v12 24/33] mm/swap: Add folio_rotate_reclaimable()
    On Tue, Jun 22, 2021 at 12:41:09PM +0100, Matthew Wilcox (Oracle) 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@infradead.org>
    > Acked-by: Vlastimil Babka <vbabka@suse.cz>
    > Reviewed-by: William Kucharski <william.kucharski@oracle.com>
    > Reviewed-by: Christoph Hellwig <hch@lst.de>

    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

    --
    Kirill A. Shutemov

    \
     
     \ /
      Last update: 2021-06-28 14:47    [W:4.161 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site