Thread (2 messages) flat view 2 messages, 2 authors, 2021-05-13

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

From: Randy Dunlap <rdunlap@infradead.org>
Date: 2021-05-13 19:57:08
Also in: linux-arch, linux-arm-kernel, linux-mm, lkml, sparclinux

On 5/13/21 11:27 AM, Christophe Leroy wrote:
When PUD and/or PMD are folded, those functions are useless
and we have a stub in linux/pgtable.h

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Christophe Leroy <redacted>
---
 arch/x86/mm/pgtable.c | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)
WorksForMe. Thanks.

Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help