s390-convert-various-pgalloc-functions-to-use-ptdescs.patch removed from -mm tree
The quilt patch titled
Subject: s390: convert various pgalloc functions to use ptdescs
has been removed from the -mm tree. Its filename was
s390-convert-various-pgalloc-functions-to-use-ptdescs.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: "Vishal Moola (Oracle)" <[email protected]>
Subject: s390: convert various pgalloc functions to use ptdescs
Date: Mon, 7 Aug 2023 16:04:56 -0700
As part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents, convert various page table functions to use ptdescs.
Some of the functions use the *get*page*() helper functions. Convert these to use pagetable_alloc() and ptdesc_address() instead to help standardize page tables further.
---
arch/s390/include/asm/pgalloc.h | 4 arch/s390/include/asm/tlb.h | 4 arch/s390/mm/pgalloc.c | 128 +++++++++++++++--------------- 3 files changed, 69 insertions(+), 67 deletions(-)
arch/s390/include/asm/pgalloc.h renamed from arch/s390/include/asm/pgalloc.h~s390-convert-various-pgalloc-functions-to-use-ptdescs +2 -2
@@ -86,7 +86,7 @@ static inline pmd_t *pmd_alloc_one(strucif (!table)return NULL ;crst_table_init (table, _SEGMENT_ENTRY_EMPTY); -if (!pgtable_pmd_page_ctor (virt_to_page (table))) { +if (!pagetable_pmd_ctor (virt_to_ptdesc (table))) {crst_table_free (mm, table);return NULL ; }
@@ -97,7 +97,7 @@ static inline void pmd_free(struct mm_st {if (mm_pmd_folded (mm))return ; -pgtable_pmd_page_dtor (virt_to_page (pmd)); +pagetable_pmd_dtor (virt_to_ptdesc (pmd));crst_table_free (mm, (unsigned long *) pmd); }
arch/s390/include/asm/tlb.h renamed from arch/s390/include/asm/tlb.h~s390-convert-various-pgalloc-functions-to-use-ptdescs +2 -2
@@ -89,12 +89,12 @@ static inline void pmd_free_tlb(struct m {if (mm_pmd_folded (tlb->mm))return ; -pgtable_pmd_page_dtor (virt_to_page (pmd)); +pagetable_pmd_dtor (virt_to_ptdesc (pmd));__tlb_adjust_range (tlb, address,PAGE_SIZE ); tlb->mm->context.flush_mm =1 ; tlb->freed_tables =1 ; tlb->cleared_puds =1 ; -tlb_remove_table (tlb, pmd); +tlb_remove_ptdesc (tlb, pmd); }/*
arch/s390/mm/pgalloc.c renamed from arch/s390/mm/pgalloc.c~s390-convert-various-pgalloc-functions-to-use-ptdescs +65 -63
295 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are