mm-filemap-do-not-count-fault_flag_tried-retries-as-mmap-hits.patch removed from -mm tree
The quilt patch titled
Subject: mm/filemap: do not count FAULT_FLAG_TRIED retries as mmap hits
has been removed from the -mm tree. Its filename was
mm-filemap-do-not-count-fault_flag_tried-retries-as-mmap-hits.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: fujunjie <[email protected]>
Subject: mm/filemap: do not count FAULT_FLAG_TRIED retries as mmap hits
Date: Tue, 28 Apr 2026 01:59:44 +0000
A fault that starts synchronous mmap readahead can return VM_FAULT_RETRY after dropping mmap_lock. The retry may then map the folio brought in by that same miss.
Do not let this retry decrement mmap_miss. The retry still maps the folio from the page cache; it just does not count as a useful mmap readahead hit.
---
mm/filemap.c | 1 + 1 file changed, 1 insertion(+)
mm/filemap.c renamed from mm/filemap.c~mm-filemap-do-not-count-fault_flag_tried-retries-as-mmap-hits +1 -0
@@ -3937,6 +3937,7 @@ vm_fault_t filemap_map_pages(struct vm_f* we can stop read-ahead. */ if ((map_ret &VM_FAULT_NOPAGE ) && + !(vmf->flags &FAULT_FLAG_TRIED ) && !folio_test_workingset (folio)) {unsigned short mmap_miss;
_
Patches currently in -mm which might be from [email protected] are
mm-compaction-respect-cpusets-when-checking-retry-suitability.patch mm-page_alloc-fix-deferred-compaction-accounting.patch