[ Sasha's backport helper bot ]
Hi,
Summary of potential issues: ⚠️ Found matching upstream commit but patch is missing proper reference to it
Found matching upstream commit: a995199384347261bb3f21b2e171fa7f988bd2f8
Status in newer kernel trees: 6.14.y | Not found 6.12.y | Not found 6.6.y | Not found 6.1.y | Not found
Note: The patch differs from the upstream commit: --- 1: a995199384347 ! 1: 35ec614cdbbfe mm: fix apply_to_existing_page_range() @@ Commit message Cc: Vlastimil Babka vbabka@suse.cz Cc: stable@vger.kernel.org Signed-off-by: Andrew Morton akpm@linux-foundation.org + (cherry picked from commit a995199384347261bb3f21b2e171fa7f988bd2f8) + Signed-off-by: Kirill A. Shutemov kirill.shutemov@linux.intel.com
## mm/memory.c ## @@ mm/memory.c: static int apply_to_pte_range(struct mm_struct *mm, pmd_t *pmd, if (fn) { do { - if (create || !pte_none(ptep_get(pte))) { + if (create || !pte_none(*pte)) { - err = fn(pte++, addr, data); + err = fn(pte, addr, data); if (err) ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.15.y | Success | Success |