mbox series

[0/3] LoongArch: mm: Code cleanup with populate pte

Message ID 20230712031622.1888321-1-maobibo@loongson.cn (mailing list archive)
Headers show
Series LoongArch: mm: Code cleanup with populate pte | expand

Message

Bibo Mao July 12, 2023, 3:16 a.m. UTC
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(-)

Comments

Bibo Mao July 25, 2023, 12:36 a.m. UTC | #1
slightly ping.

在 2023/7/12 11:16, Bibo Mao 写道:
> 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(-)
>
Dennis Zhou July 25, 2023, 2:33 a.m. UTC | #2
Hello,

On Tue, Jul 25, 2023 at 08:36:22AM +0800, bibo mao wrote:
> slightly ping.
> 

Sorry, I'm not sure how I missed this. I'll take a look at this
tomorrow.

Thanks,
Dennis

> 在 2023/7/12 11:16, Bibo Mao 写道:
> > 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(-)
> > 
>