Re: [PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull

2021-05-14 Thread Christophe Leroy
Le 14/05/2021 à 23:42, Andrew Morton a écrit : On Fri, 14 May 2021 11:08:53 + (UTC) Christophe Leroy wrote: When PUD and/or PMD are folded, those functions are useless and we now have a stub in linux/pgtable.h OK, help me out here please. What patch does this fix? Both this one a

Re: [PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull

2021-05-14 Thread Nathan Chancellor
On Fri, May 14, 2021 at 02:42:00PM -0700, Andrew Morton wrote: > On Fri, 14 May 2021 11:08:53 + (UTC) Christophe Leroy > wrote: > > > When PUD and/or PMD are folded, those functions are useless > > and we now have a stub in linux/pgtable.h > > OK, help me out here please. What patch does t

Re: [PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull

2021-05-14 Thread Andrew Morton
On Fri, 14 May 2021 11:08:53 + (UTC) Christophe Leroy wrote: > When PUD and/or PMD are folded, those functions are useless > and we now have a stub in linux/pgtable.h OK, help me out here please. What patch does this fix?

[PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull

2021-05-14 Thread Christophe Leroy
When PUD and/or PMD are folded, those functions are useless and we now have a stub in linux/pgtable.h Reported-by: Naresh Kamboju Signed-off-by: Christophe Leroy --- arch/arm64/mm/mmu.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/arm64/mm/mmu.c