Thread (14 messages) flat view 14 messages, 3 authors, 3d ago

Re: [PATCH 0/8] mm: Drop pxd_ERROR()

From: Anshuman Khandual <hidden>
Date: 2026-08-31 06:49:19
Also in: linux-alpha, linux-arch, linux-arm-kernel, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, lkml, loongarch, sparclinux


On 31/08/26 11:38 AM, John Paul Adrian Glaubitz wrote:
Hi Anshuman,

On Mon, 2026-08-31 at 11:13 +0530, Anshuman Khandual wrote:
quoted
pxd_ERROR() macros have been provided by all platforms, which are very much
identical and can be dropped off completely if these pgtable printing could
be moved to callers in generic MM aka all pxd_clear_bad().
If pxd_ERROR() macros are really all identical, why not provide a common definiton
of that macro? I'm always a bit concerned about such changes as there is always
a risk to oversee arch-specific peculiarities.
We don't those platform macros any more after converting generic MM into using ptval_bytes_to_hex_str()
which now handles different pgtable entry types.
Adrian
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help