linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] LoongArch: mm: Code cleanup with populate pte
@ 2023-07-12  3:16 Bibo Mao
  2023-07-12  3:16 ` [PATCH 1/3] mm/percpu: Remove some local variables in pcpu_populate_pte Bibo Mao
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Bibo Mao @ 2023-07-12  3:16 UTC (permalink / raw)
  To: Huacai Chen, Dennis Zhou, Tejun Heo, Christoph Lameter
  Cc: Andrew Morton, loongarch, linux-kernel, linux-mm, WANG Xuerui

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-08-10  4:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12  3:16 [PATCH 0/3] LoongArch: mm: Code cleanup with populate pte Bibo Mao
2023-07-12  3:16 ` [PATCH 1/3] mm/percpu: Remove some local variables in pcpu_populate_pte Bibo Mao
2023-07-27 23:08   ` Dennis Zhou
2023-07-28  1:13     ` bibo mao
2023-07-12  3:16 ` [PATCH 2/3] LoongArch: Code cleanup in function pcpu_populate_pte Bibo Mao
2023-07-31 14:15   ` Huacai Chen
2023-08-01  1:18     ` bibo mao
2023-07-12  3:16 ` [PATCH 3/3] LoongArch: mm: Add unified function populate_kernel_pte Bibo Mao
2023-07-31 14:15   ` Huacai Chen
2023-08-01  1:22     ` bibo mao
2023-08-02  7:25       ` Huacai Chen
2023-08-10  4:08         ` bibo mao
2023-08-10  4:27           ` Huacai Chen
2023-08-10  4:42             ` bibo mao
2023-07-25  0:36 ` [PATCH 0/3] LoongArch: mm: Code cleanup with populate pte bibo mao
2023-07-25  2:33   ` Dennis Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox