Skip to content
Commit 7afccde3 authored by Rongwei Wang's avatar Rongwei Wang Committed by Catalin Marinas
Browse files

arm64: kexec: reduce calls to page_address()



In kexec_page_alloc(), page_address() is called twice.
This patch add a new variable to help to reduce calls
to page_address().

Signed-off-by: default avatarRongwei Wang <rongwei.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20211125170600.1608-3-rongwei.wang@linux.alibaba.com
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent fde046e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment