Thread (14 messages) 14 messages, 3 authors, 2021-12-10
STALE1639d

[PATCH v3 0/2] simple optimizations for page_address and

From: Rongwei Wang <hidden>
Date: 2021-11-25 17:08:08
Also in: lkml

Hello

Patch 1/2 mainly to fix the bug when calling kexec_load() originally, but
because of ignored and link[1] also fixed this bug and had been applied
to arm64 (for-next/fixes) before us. Anyway, It's nice to unify the use of
'pmd_populate_kernel' under arm64.

Patch 2/2 just make a very simple optimization, reducing
calls to page_address() in kexec_page_alloc().

v2 -> v3:
- Patch "arm64: trans_pgd: unify the use of pmd_populate_kernel"
rename this patch.

v1 -> v2:
- Patch " arm64: trans_pgd: fix incorrect use of pmd_populate_kernel in
  copy_pte()"
restore the usage of pmd_populate_kernel.

link1:
https://lore.kernel.org/linux-arm-kernel/20211111060316.12438-1-kernelfans@gmail.com/ (local)

v1:
https://lore.kernel.org/linux-arm-kernel/20211030183200.51295-1-rongwei.wang@linux.alibaba.com/ (local)
v2:
https://lore.kernel.org/linux-arm-kernel/20211114201650.5542-1-rongwei.wang@linux.alibaba.com/ (local)

Rongwei Wang (2):
  arm64: trans_pgd: unify the use of pmd_populate_kernel
  arm64: kexec: reduce calls to page_address()

 arch/arm64/kernel/machine_kexec.c | 6 ++++--
 arch/arm64/mm/trans_pgd.c         | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

-- 
1.8.3.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help