Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp621091ybb; Wed, 8 Apr 2020 06:43:56 -0700 (PDT) X-Google-Smtp-Source: APiQypJeIMWm5s8K+MVCqH80NlQsvbEA0FR6+M/iVUXeMOrxasHT1tWbRzd/g89emM/o2xZDzLx4 X-Received: by 2002:aca:d50f:: with SMTP id m15mr2649300oig.19.1586353436244; Wed, 08 Apr 2020 06:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586353436; cv=none; d=google.com; s=arc-20160816; b=NuWLdjZok7NmCc/rP1TKoxZr6y/FBFYDYYV9V4PDhWb3B9OWtp0QfkEWU0y1KwFo9p 0jffpukIvQaj5A1rghsL3E8OKA0Gyb58tNY+ei4rYZk9AVEout+qdF0PkGrk7Ui7KVLW ncIjSQUfQOaSOkpu7v/CKIsK2UQ/qZ+lpZ4ssq5YnuD773tF2bgZ4/5tDGTY2n4SI8+M dmp4Z/yBo/+EOoVum7yTQDM3ZBnu8yn+Jt6otGCPauWzQqkmgGh0gJ1uxmpPqDCp49PM 7tA9CFibwp/zDTvuuB8DCJoi0qq8lMclyCDiaI8w5W5rbgKX9dgEA1stoO5UNgGII4ad bhuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sQoalyoBk2y2LQtXpXrtiCWABTcP7ql1QW2RhgXeGuU=; b=UJc38EuHTrMzafunisszXDwHn9L6KD7JVcyGAgACBf6WyBmC7iguX4QE0d0zo3Muv7 WL4Zs0UwXvRLzx0nQ79sKvKy8whTkKKmTBE2kDQWpmaV7qOvbEH9dR+nktjATqxJ8KOc qp/sa2Jje36yElzIhg0Vpx37guOhoBajc5gjOADrAAKHduMH5IX2Y1/knYyMmVNYbVVy noIIr43p4OSO/WEQtZ50tsfpdlB+ptqGwf10kaMvnFSf4kj6CoOsYl99Kb0OHq1Wwnwd oLj9VkffTlUbrLLmWxMO9YUeGR2mOguyIoSBvuilYHqGkq+TVCMrzNZo+4jq2PEB31RI fznw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si1942150oic.230.2020.04.08.06.43.38; Wed, 08 Apr 2020 06:43:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728212AbgDHMSQ (ORCPT + 99 others); Wed, 8 Apr 2020 08:18:16 -0400 Received: from foss.arm.com ([217.140.110.172]:38012 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbgDHMSP (ORCPT ); Wed, 8 Apr 2020 08:18:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 94ADC31B; Wed, 8 Apr 2020 05:18:12 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3217A3F73D; Wed, 8 Apr 2020 05:18:09 -0700 (PDT) Date: Wed, 8 Apr 2020 13:18:02 +0100 From: Mark Rutland To: Christoph Hellwig Cc: Andrew Morton , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , x86@kernel.org, David Airlie , Daniel Vetter , Laura Abbott , Sumit Semwal , Sakari Ailus , Minchan Kim , Nitin Gupta , Robin Murphy , Christophe Leroy , Peter Zijlstra , linuxppc-dev@lists.ozlabs.org, linux-hyperv@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, james.morse@arm.com Subject: Re: [PATCH 26/28] arm64: use __vmalloc_node in arch_alloc_vmap_stack Message-ID: <20200408121802.GA36478@lakrids.cambridge.arm.com> References: <20200408115926.1467567-1-hch@lst.de> <20200408115926.1467567-27-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200408115926.1467567-27-hch@lst.de> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 08, 2020 at 01:59:24PM +0200, Christoph Hellwig wrote: > arch_alloc_vmap_stack can use a slightly higher level vmalloc function. > > Signed-off-by: Christoph Hellwig Acked-by: Mark Rutland Mark. > --- > arch/arm64/include/asm/vmap_stack.h | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/include/asm/vmap_stack.h b/arch/arm64/include/asm/vmap_stack.h > index 0a12115d9638..0cc6636e3f15 100644 > --- a/arch/arm64/include/asm/vmap_stack.h > +++ b/arch/arm64/include/asm/vmap_stack.h > @@ -19,10 +19,8 @@ static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node) > { > BUILD_BUG_ON(!IS_ENABLED(CONFIG_VMAP_STACK)); > > - return __vmalloc_node_range(stack_size, THREAD_ALIGN, > - VMALLOC_START, VMALLOC_END, > - THREADINFO_GFP, PAGE_KERNEL, 0, node, > - __builtin_return_address(0)); > + return __vmalloc_node(stack_size, THREAD_ALIGN, THREADINFO_GFP, node, > + __builtin_return_address(0)); > } > > #endif /* __ASM_VMAP_STACK_H */ > -- > 2.25.1 >