Thread (30 messages) 30 messages, 5 authors, 2026-04-07

Re: [PATCH 5/6] mm: change to return bool for pudp_test_and_clear_young()

From: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Date: 2026-03-21 05:31:47
Also in: kvm, linux-mm, linux-riscv, linux-s390, linuxppc-dev, lkml

Baolin Wang [off-list ref] writes:
The pudp_test_and_clear_young() is used to clear the young flag,
returning whether the young flag was set for this PUD entry. Change
the return type to bool to make the intention clearer.

Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
---
 arch/powerpc/include/asm/book3s/64/pgtable.h | 10 +++++-----
 arch/powerpc/mm/book3s64/pgtable.c           |  4 ++--
 arch/riscv/include/asm/pgtable.h             |  4 ++--
 arch/x86/include/asm/pgtable.h               |  4 ++--
 arch/x86/mm/pgtable.c                        |  6 +++---
 5 files changed, 14 insertions(+), 14 deletions(-)
LGTM. Please feel free to add:
(assuming you will anyway kill the unwanted externs)

Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help