mm-readahead-add-readahead_control-dropbehind-member.patch removed from -mm tree
The quilt patch titled
Subject: mm/readahead: add readahead_control->dropbehind member
has been removed from the -mm tree. Its filename was
mm-readahead-add-readahead_control-dropbehind-member.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Jens Axboe <[email protected]>
Subject: mm/readahead: add readahead_control->dropbehind member
Date: Fri, 20 Dec 2024 08:47:43 -0700
If ractl->dropbehind is set to true, then folios created are marked as dropbehind as well.
Signed-off-by Jens Axboe <[email protected]>
Reviewed-by Kirill A. Shutemov <[email protected]>
Cc Brian Foster <[email protected]>
Cc Chris Mason <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/pagemap.h | 1 + mm/readahead.c | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-)
include/linux/pagemap.h renamed from include/linux/pagemap.h~mm-readahead-add-readahead_control-dropbehind-member +1 -0
@@ -1358,6 +1358,7 @@ struct readahead_control {pgoff_t _index;unsigned int _nr_pages;unsigned int _batch_count; +bool dropbehind;bool _workingset;unsigned long _pflags; };
mm/readahead.c renamed from mm/readahead.c~mm-readahead-add-readahead_control-dropbehind-member +7 -1
@@ -181,7 +181,13 @@ static void read_pages(struct readahead_static struct folio *ractl_alloc_folio (struct readahead_control *ractl,gfp_t gfp_mask,unsigned int order) { -return filemap_alloc_folio (gfp_mask, order); +struct folio *folio; + + folio =filemap_alloc_folio (gfp_mask, order); +if (folio && ractl->dropbehind) +__folio_set_dropbehind (folio); + +return folio; }/**
_
Patches currently in -mm which might be from [email protected] are