[PATCH RFC v2 09/20] loongarch: kvm: remove stack copy address of pXd in pXd_offset()
David Hildenbrand (Arm)
david at kernel.org
Mon Jul 27 07:53:03 PDT 2026
On 7/22/26 17:30, Yeoreum Yun wrote:
> The behaviour of pXdp_get() will change with generic compile-time folded
> page tables. To prepare for that, rework host_pfn_mapping_level() to avoid
> use of a stack copy of a pXd and pass it as argument to pXd_offset() so that
> the folded entries value is ignored.
>
> Replace direct uses of stack-based pXd values with pXd_offset_lockless().
> And there should be no functional change.
>
> Signed-off-by: Yeoreum Yun <yeoreum.yun at arm.com>
> ---
Reviewed-by: David Hildenbrand (Arm) <david at kernel.org>
--
Cheers,
David
More information about the linux-riscv
mailing list