lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] mm/vmalloc: export __vmalloc_node_range
On Wed, Jun 09, 2021 at 07:47:43PM +0200, Christian Borntraeger wrote:
> An alternative would be to provide a vmalloc_no_huge function in generic
> code (similar to vmalloc_32) (or if preferred in s390 base architecture code)
> Something like
>
> void *vmalloc_no_huge(unsigned long size)
> {
> return __vmalloc_node_flags(size, NUMA_NO_NODE,VM_NO_HUGE_VMAP |
> GFP_KERNEL | __GFP_ZERO);
> }
> EXPORT_SYMBOL(vmalloc_no_huge);
>
> or a similar vzalloc variant.

Exactly. Given that this seems to be a weird pecularity of legacy s390
interfaces I'd only export it for 390 for now, although for
documentation purposes I'd probably still keep it in vmalloc.c.

\
 
 \ /
  Last update: 2021-06-10 07:26    [W:0.050 / U:3.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site