Re: [PATCH v8 02/10] filemap: allocate mapping_min_order folios in the page cache
From: Pankaj Raghav (Samsung)
Date: Tue Jun 25 2024 - 14:07:46 EST
On Tue, Jun 25, 2024 at 04:52:03PM +0100, Matthew Wilcox wrote:
> On Tue, Jun 25, 2024 at 11:44:12AM +0000, Pankaj Raghav (Samsung) wrote:
> > Co-developed-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> > Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> > Signed-off-by: Pankaj Raghav <p.raghav@xxxxxxxxxxx>
> > Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
> > Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>
>
> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Thanks!
>
> after fixing the nits below
>
> > +/**
> > + * mapping_align_index() - Align index based on the min
> > + * folio order of the page cache.
>
> + * mapping_align_index - Align index for this mapping.
>
> > @@ -1165,7 +1186,7 @@ static inline vm_fault_t folio_lock_or_retry(struct folio *folio,
> > void folio_wait_bit(struct folio *folio, int bit_nr);
> > int folio_wait_bit_killable(struct folio *folio, int bit_nr);
> >
> > -/*
> > +/*
> > * Wait for a folio to be unlocked.
> > *
> > * This must be called with the caller "holding" the folio,
>
> Unnecessary whitespace change
>