Re: [PATCH v2 2/3] arm64: Support huge vmalloc mappings

2022-01-15 Thread Christophe Leroy
Le 27/12/2021 à 15:59, Kefeng Wang a écrit : > This patch select HAVE_ARCH_HUGE_VMALLOC to let arm64 support huge > vmalloc mappings. > > Cc: Catalin Marinas > Cc: Will Deacon > Signed-off-by: Kefeng Wang > --- > Documentation/admin-guide/kernel-parameters.txt | 4 ++-- > arch/arm64/Kconfi

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2022-01-15 Thread Christophe Leroy
Le 27/12/2021 à 15:59, Kefeng Wang a écrit : > This patch select HAVE_ARCH_HUGE_VMALLOC to let X86_64 and X86_PAE > support huge vmalloc mappings. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Borislav Petkov > Cc: Dave Hansen > Cc: "H. Peter Anvin" > Signed-off-by: Kefeng Wang > --- >

Re: [PATCH v2 0/3] mm: support huge vmalloc mapping on arm64/x86

2022-01-15 Thread Christophe Leroy
Le 27/12/2021 à 15:59, Kefeng Wang a écrit : > Huge vmalloc mappings is supported on PPC[1], but this feature should > be not only used on PPC, it could be used on arch support HAVE_ARCH_HUGE_VMAP > and PMD sized vmap mappings. this patchset is to enable this feature > on arm64/x86. > > There ar

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2022-01-15 Thread Christophe Leroy
Le 28/12/2021 à 11:26, Kefeng Wang a écrit : > > On 2021/12/27 23:56, Dave Hansen wrote: >> On 12/27/21 6:59 AM, Kefeng Wang wrote: >>> This patch select HAVE_ARCH_HUGE_VMALLOC to let X86_64 and X86_PAE >>> support huge vmalloc mappings. >> In general, this seems interesting and the diff is simp

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2022-01-15 Thread Christophe Leroy
Le 28/12/2021 à 17:14, Dave Hansen a écrit : > On 12/28/21 2:26 AM, Kefeng Wang wrote: There are some disadvantages about this feature[2], one of the main concerns is the possible memory fragmentation/waste in some scenarios, also archs must ensure that any arch specific vmalloc al

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2022-01-15 Thread Christophe Leroy
Le 29/12/2021 à 12:01, Kefeng Wang a écrit : > > On 2021/12/29 0:14, Dave Hansen wrote: >> On 12/28/21 2:26 AM, Kefeng Wang wrote: > There are some disadvantages about this feature[2], one of the main > concerns is the possible memory fragmentation/waste in some scenarios, > also arc