[PATCH RFC 00/18] arch, mm: create a generic set_memory/change_page_attr core

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Sun Nov 1 14:16:02 PST 2026


Hello:

This series was applied to riscv/linux.git (fixes)
by Dave Hansen <dave.hansen at linux.intel.com>:

On Tue, 21 Jul 2026 19:23:23 +0300 you wrote:
> Currently there are 6 independent implementations for set_memory and
> set_direct_map APIs.
> 
> With increasing demand for kernel page table manipulations, for example
> "Direct Map Removal Support for guest_memfd" [1] and "mm: ASI direct map
> management" [2], it makes sense to have a generic core for kernel page
> table manipulation in mm/ with helpers in the architecture specific
> code.
> 
> [...]

Here is the summary with links:
  - [RFC,01/18] x86/mm/pat: Don't gate cpa_lock on debug_pagealloc_enabled()
    (no matching commit)
  - [RFC,02/18] x86/mm/pat: fix effective RW computation in lookup_address_in_pgd_attr()
    https://git.kernel.org/riscv/c/ebaf7c9bbb1e
  - [RFC,03/18] x86/mm/pat: replace x86-speficic pg_level with generic pgtable_level
    (no matching commit)
  - [RFC,04/18] x86/mm/pat: use page table accessors for effective RW/NX bits
    (no matching commit)
  - [RFC,05/18] x86/mm/pat: use a generic helper for the large page size
    (no matching commit)
  - [RFC,06/18] x86/mm/pat: introduce an inline helper to check if alias needs update
    (no matching commit)
  - [RFC,07/18] x86/mm/pat: introduce cpa_handle_large_page()
    (no matching commit)
  - [RFC,08/18] x86/mm/pat: use cpa_split_data structure to pass split parameters
    (no matching commit)
  - [RFC,09/18] x86/mm/pat: use a single locked lookup for PTE verification
    (no matching commit)
  - [RFC,10/18] x86/mm/pat: move the large page size calculation to should_split_large_page
    (no matching commit)
  - [RFC,11/18] x86/mm/pat, mm: set_memory: pull change_page_attr() core to mm/
    (no matching commit)
  - [RFC,12/18] x86/pat/mm, mm/set_memory: abstract the CPA page table lock
    (no matching commit)
  - [RFC,13/18] mm/set_memory: read page table entries with pXdp_get()
    (no matching commit)
  - [RFC,14/18] x86/mm/pat, mm: move cpa-test to mm
    (no matching commit)
  - [RFC,15/18] riscv: convert set_memory to the generic CPA implementation
    (no matching commit)
  - [RFC,16/18] riscv: make set_direct_map_*_noflush actually noflush
    (no matching commit)
  - [RFC,17/18] loongarch: convert set_memory to the generic CPA implementation
    (no matching commit)
  - [RFC,18/18] loongarch: make set_direct_map_*_noflush actually noflush
    (no matching commit)

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-arm-kernel mailing list