From: Rongwei Wang <rongwei.wang@linux.alibaba.com>
To: catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com,
james.morse@arm.com, ardb@kernel.org, tabba@google.com,
akpm@linux-foundation.org, rppt@kernel.org,
anshuman.khandual@arm.com, pasha.tatashin@soleen.com
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 0/2] simple optimizations for page_address and
Date: Fri, 26 Nov 2021 01:05:58 +0800 [thread overview]
Message-ID: <20211125170600.1608-1-rongwei.wang@linux.alibaba.com> (raw)
In-Reply-To: <20211030183200.51295-1-rongwei.wang@linux.alibaba.com>
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/
v1:
https://lore.kernel.org/linux-arm-kernel/20211030183200.51295-1-rongwei.wang@linux.alibaba.com/
v2:
https://lore.kernel.org/linux-arm-kernel/20211114201650.5542-1-rongwei.wang@linux.alibaba.com/
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
next prev parent reply other threads:[~2021-11-25 17:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-30 18:31 [PATCH 0/2] fix bug when calling kexec_load() Rongwei Wang
2021-10-30 18:31 ` [PATCH 1/2] arm64: trans_pgd: fix incorrect use of pmd_populate_kernel in copy_pte() Rongwei Wang
2021-10-31 12:25 ` Ard Biesheuvel
2021-11-01 2:14 ` Rongwei Wang
2021-11-05 5:58 ` Rongwei Wang
2021-10-30 18:32 ` [PATCH 2/2] arm64: kexec: reduce calls to page_address() Rongwei Wang
2021-11-14 20:16 ` [PATCH v2 0/2] fix bug when calling kexec_load() Rongwei Wang
2021-11-14 20:16 ` [PATCH v2 1/2] arm64: trans_pgd: fix incorrect use of pmd_populate_kernel in copy_pte() Rongwei Wang
2021-11-19 3:04 ` Rongwei Wang
2021-11-14 20:16 ` [PATCH v2 2/2] arm64: kexec: reduce calls to page_address() Rongwei Wang
2021-11-25 17:05 ` Rongwei Wang [this message]
2021-11-25 17:05 ` [PATCH v3 1/2] arm64: trans_pgd: unify the use of pmd_populate_kernel Rongwei Wang
2021-11-25 17:06 ` [PATCH v3 2/2] arm64: kexec: reduce calls to page_address() Rongwei Wang
2021-12-10 18:40 ` (subset) [PATCH v3 0/2] simple optimizations for page_address and Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211125170600.1608-1-rongwei.wang@linux.alibaba.com \
--to=rongwei.wang@linux.alibaba.com \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=ardb@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pasha.tatashin@soleen.com \
--cc=rppt@kernel.org \
--cc=tabba@google.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®