Re: [PATCH v10 09/13] x86/mm: Reset tags in a canonical address helper call

From: Dave Hansen

Date: Mon Feb 23 2026 - 15:41:51 EST


On 2/4/26 11:20, Maciej Wieczor-Retman wrote:
> - return __is_canonical_address(vaddr, boot_cpu_data.x86_virt_bits);
> + return __is_canonical_address(__tag_reset(vaddr), boot_cpu_data.x86_virt_bits);
> }

I think we should just do this in __canonical_address() itself instead
of changing its callers. There are a whole host of ways to get in there.