Re: [PATCH] powerpc: Use swapper_pg_dir instead of init_mm->pgd

2024-03-16 Thread Christophe Leroy
Le 09/10/2022 à 19:31, Christophe Leroy a écrit : > init_mm->pgd is always swapper_pg_dir[] which is known > at build time. > > Directly use the later instead of loading it from init_mm > struct at every time. > > Signed-off-by: Christophe Leroy Dropping this patch after feedback from

[PATCH] powerpc: Use swapper_pg_dir instead of init_mm->pgd

2022-10-09 Thread Christophe Leroy
init_mm->pgd is always swapper_pg_dir[] which is known at build time. Directly use the later instead of loading it from init_mm struct at every time. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/pgtable.h | 3 +++ 1 file changed, 3 insertions(+) diff --git