[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230712031622.1888321-1-maobibo@loongson.cn>
Date: Wed, 12 Jul 2023 11:16:19 +0800
From: Bibo Mao <maobibo@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>,
Dennis Zhou <dennis@...nel.org>, Tejun Heo <tj@...nel.org>,
Christoph Lameter <cl@...ux.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, WANG Xuerui <kernel@...0n.name>
Subject: [PATCH 0/3] LoongArch: mm: Code cleanup with populate pte
There are some confusion between pdg and p4d when populate pte for
kernel address space. This patch modifies this issue and adds unified
function for pcpu and fixmap populate pte.
Bibo Mao (3):
mm/percpu: Remove some local variables in pcpu_populate_pte
LoongArch: Code cleanup in function pcpu_populate_pte
LoongArch: mm: Add unified function populate_kernel_pte
arch/loongarch/include/asm/pgalloc.h | 1 +
arch/loongarch/kernel/numa.c | 35 ++-----------------
arch/loongarch/mm/init.c | 52 ++++++++++++++++------------
mm/percpu.c | 24 +++++--------
4 files changed, 42 insertions(+), 70 deletions(-)
--
2.27.0
Powered by blists - more mailing lists