As Ryan Roberts points out[1], when writing page tables, generic mm code
should already be using the architecture-provided helper functions.
This series includes fixes for the few instances where we didn't do
that, as found by my coccinelle script[2].
[1]: https://lore.kernel.org/linux-mm/02e3b3bd-ae6a-4db4-b4a1-8cbc1bc0a1c8@arm.com/
[2]: https://lore.kernel.org/linux-mm/20251113014656.2605447-7-samuel.holland@sifive.com/
Samuel Holland (2):
mm/debug_vm_pgtable: Use set_pXd() to write page tables
mm/madvise: Use set_pte() to write page tables
mm/debug_vm_pgtable.c | 4 ++--
mm/madvise.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.47.2
base-commit: d358e5254674b70f34c847715ca509e46eb81e6f
branch: up/fix-pte-madvise