arm64: mm: Remove misleading pte_none() comment from ptep_try_set()
Subsystems (3)
PATCH 1/1 arm64: mm: Remove misleading pte_none() comment from ptep_try_set()
This comment was thoughtlessly copied from the x86 version and doesn't apply to arm64. Remove it.
Reported-by Will Deacon <[email protected]>
Signed-off-by Tejun Heo <[email protected]>
--- arch/arm64/include/asm/pgtable.h | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/include/asm/pgtable.h +0 -4
@@ -1830,10 +1830,6 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm,return __ptep_get_and_clear (mm, addr, ptep); } -/* -* Note: strictly-zero compare is narrower than pte_none(), but the gap is -* harmless: a fresh kernel PTE has no software bits set. -*/ static inline bool ptep_try_set (pte_t *ptep,pte_t new_pte) {pteval_t old =0 ;
Signature · 1 line
2.51.0
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Quoted 8 lines · On Sun, 14 Jun 2026 11:02:09 -1000 you wrote:
This comment was thoughtlessly copied from the x86 version and doesn't apply to arm64. Remove it.
Reported-by Will Deacon <[email protected]>Signed-off-by Tejun Heo <[email protected]>--- arch/arm64/include/asm/pgtable.h | 4 ---- 1 file changed, 4 deletions(-)
Here is the summary with links:
- [bpf-next] arm64: mm: Remove misleading pte_none() comment from ptep_try_set()
https://git.kernel.org/bpf/bpf-next/c/16deef8de06e
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html