2024-03-01 17:17:06

by Hannes Reinecke

[permalink] [raw]
Subject: Re: [PATCH v2 01/13] mm: Support order-1 folios in the page cache

On 3/1/24 17:44, Pankaj Raghav (Samsung) wrote:
> From: "Matthew Wilcox (Oracle)" <[email protected]>
>
> Folios of order 1 have no space to store the deferred list. This is
> not a problem for the page cache as file-backed folios are never
> placed on the deferred list. All we need to do is prevent the core
> MM from touching the deferred list for order 1 folios and remove the
> code which prevented us from allocating order 1 folios.
>
> Link: https://lore.kernel.org/linux-mm/[email protected]/
> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
> ---
> include/linux/huge_mm.h | 7 +++++--
> mm/filemap.c | 2 --
> mm/huge_memory.c | 23 ++++++++++++++++++-----
> mm/internal.h | 4 +---
> mm/readahead.c | 3 ---
> 5 files changed, 24 insertions(+), 15 deletions(-)
>
Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
[email protected] +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich