lkml.org 
[lkml]   [2021]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 36/46] mm/filemap: Add readahead_folio()
    On Tue, Jun 22, 2021 at 01:15:41PM +0100, Matthew Wilcox (Oracle) wrote:
    > The pointers stored in the page cache are folios, by definition.
    > This change comes with a behaviour change -- callers of readahead_folio()
    > are no longer required to put the page reference themselves. This matches
    > how readpage works, rather than matching how readpages used to work.

    The way this stores and retrieves different but compatible types from the
    same xarray is a little nasty. But I guess we'll have to live with it for
    now, so:

    Reviewed-by: Christoph Hellwig <hch@lst.de>

    \
     
     \ /
      Last update: 2021-06-23 11:51    [W:4.895 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site