On 08.04.20 13:59, Christoph Hellwig wrote: > stack_alloc can use a slightly higher level vmalloc function. > > Signed-off-by: Christoph Hellwig <h...@lst.de> > --- > arch/s390/kernel/setup.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c > index 36445dd40fdb..0f0b140b5558 100644 > --- a/arch/s390/kernel/setup.c > +++ b/arch/s390/kernel/setup.c > @@ -305,12 +305,9 @@ void *restart_stack __section(.data); > unsigned long stack_alloc(void) > { > #ifdef CONFIG_VMAP_STACK > - return (unsigned long) > - __vmalloc_node_range(THREAD_SIZE, THREAD_SIZE, > - VMALLOC_START, VMALLOC_END, > - THREADINFO_GFP, > - PAGE_KERNEL, 0, NUMA_NO_NODE, > - __builtin_return_address(0)); > + return (unsigned long)__vmalloc_node(THREAD_SIZE, THREAD_SIZE, > + THREADINFO_GFP, NUMA_NO_NODE, > + __builtin_return_address(0)); Looks sane. Acked-by: Christian Borntraeger <borntrae...@de.ibm.com> > #else > return __get_free_pages(GFP_KERNEL, THREAD_SIZE_ORDER); > #endif > _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
- [PATCH 14/28] mm: don't return the number of pages f... Christoph Hellwig
- [PATCH 13/28] mm: rename vmap_page_range to map_kern... Christoph Hellwig
- [PATCH 18/28] mm: enforce that vmap can't map pages ... Christoph Hellwig
- Re: [PATCH 18/28] mm: enforce that vmap can't m... Mark Rutland
- Re: [PATCH 18/28] mm: enforce that vmap can... Christoph Hellwig
- [PATCH 19/28] gpu/drm: remove the powerpc hack in dr... Christoph Hellwig
- Re: [PATCH 19/28] gpu/drm: remove the powerpc h... Daniel Vetter
- [PATCH 27/28] s390: use __vmalloc_node in alloc_vm_s... Christoph Hellwig
- Re: [PATCH 27/28] s390: use __vmalloc_node in a... Christian Borntraeger
- [PATCH 28/28] s390: use __vmalloc_node in stack_allo... Christoph Hellwig
- Re: [PATCH 28/28] s390: use __vmalloc_node in s... Christian Borntraeger
- [PATCH 16/28] mm: remove unmap_vmap_area Christoph Hellwig
- [PATCH 24/28] mm: switch the test_vmalloc module to ... Christoph Hellwig
- [PATCH 26/28] arm64: use __vmalloc_node in arch_allo... Christoph Hellwig
- Re: [PATCH 26/28] arm64: use __vmalloc_node in ... Mark Rutland
- [PATCH 17/28] mm: remove the prot argument from vm_m... Christoph Hellwig
- Re: [PATCH 17/28] mm: remove the prot argument ... Peter Zijlstra
- Re: [PATCH 17/28] mm: remove the prot argum... Christoph Hellwig
- Re: [PATCH 17/28] mm: remove the prot argument ... Gao Xiang via iommu
- [PATCH 15/28] mm: remove map_vm_range Christoph Hellwig
- [PATCH 21/28] mm: remove the prot argument to __vmal... Christoph Hellwig