]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kexec: reduce calls to page_address()
authorRongwei Wang <rongwei.wang@linux.alibaba.com>
Thu, 25 Nov 2021 17:06:00 +0000 (01:06 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Dec 2021 13:57:25 +0000 (13:57 +0000)
commitc38fe878fb985f5a3799c3f84797692b4d7eb2cf
treecd93a72cf567db9835041a743079424d6ae90089
parentbd71f976519343a419d6c21f4f1599ed9e8558e9
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: Rongwei Wang <rongwei.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20211125170600.1608-3-rongwei.wang@linux.alibaba.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/machine_kexec.c