mm-pgtable-kmap_local_page-instead-of-kmap_atomic.patch removed from -mm tree
The quilt patch titled
Subject: mm/pgtable: kmap_local_page() instead of kmap_atomic()
has been removed from the -mm tree. Its filename was
mm-pgtable-kmap_local_page-instead-of-kmap_atomic.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: Hugh Dickins <[email protected]>
Subject: mm/pgtable: kmap_local_page() instead of kmap_atomic()
Date: Thu, 8 Jun 2023 18:09:25 -0700 (PDT)
pte_offset_map() was still using kmap_atomic(): update it to the preferred kmap_local_page() before making further changes there, in case we need this as a bisection point; but I doubt it can cause any trouble.
---
include/linux/pgtable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/pgtable.h renamed from include/linux/pgtable.h~mm-pgtable-kmap_local_page-instead-of-kmap_atomic +2 -2
@@ -96,9 +96,9 @@ static inline pte_t *pte_offset_kernel(p#if defined(CONFIG_HIGHPTE )#define pte_offset_map (dir, address) \ - ((pte_t *)kmap_atomic(pmd_page(*(dir))) + \ + ((pte_t *)kmap_local_page(pmd_page(*(dir))) + \ pte_index((address))) -#define pte_unmap (pte) kunmap_atomic((pte)) +#define pte_unmap (pte) kunmap_local((pte))#else #define pte_offset_map (dir, address) pte_offset_kernel((dir), (address))#define pte_unmap (pte) ((void)(pte))/* NOP */
_
Patches currently in -mm which might be from [email protected] are