Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp592447ybb; Wed, 8 Apr 2020 06:11:56 -0700 (PDT) X-Google-Smtp-Source: APiQypJ+c5tY7YSyyVY6YtEd0RZw1AAxWKDUy540/FKkNi5Quw2i3pciKJPHJ9+aaXGgl3IC7nb6 X-Received: by 2002:a9d:6b98:: with SMTP id b24mr5410704otq.242.1586351516359; Wed, 08 Apr 2020 06:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586351516; cv=none; d=google.com; s=arc-20160816; b=aEF8qK05SOT2rvFnAOB/Jn5IyyzKdy6xT96EgZCwDYGYQpR37/C9dkPuKditjyChw2 Bm7VBYDxPIcCo244J16UOTbqt8l9eCCUwis6X2NTlCSPSxfDR3EfcQicNnqce1G1Z8sr uIUvI4c/nzxOOHylpUZdpqU3Ed9v/+RJAaHHpuMS/9jlji1TIdT3DPVlafEqqZ4OvbyO 8GCa5L1Ot+uaefX+ym2gcUitDuF7O7vIOj6LfRzIdrsRqZY71Gos0Ok1RyWcFCMtIeu2 wYaG/oQg0wGeMAZ3VlFlr+zowoOloYMSdUYx5/F8XA52DcHQOBgJ+XdEblx00tQH6pR2 xyLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yoWrcY0l+M6NFV8Uvzg54oimNxw2jqv1XNGGXoQf8EM=; b=WcbHoAG4nyiPPl/PWOJSjMCCJaK/6OrpqCZ5RI3sHRYWYfbzIlbjt6/iA0wKZeGWhH /Eyk44lYYpd3xaRk84A0v3dYA4+M5xGl+j3GkX23CvJJeB9lXtIvQofDcKhLqR2W/N8d 0NaUjh1iOrTqMTFBVi7rZw5/m7jGKiwiv88KdgSL8Rm79PjcthD0f5mrgEmMD7xvq8kw wEjj7OLOg7/TZnG5plHKOMgCPqn8+Ty4nTDnn0p4crHdLcnE3pbOwZzgHwclT0cQta/M lLWnN9iWCJ83iGUS48hf8Yb96ONn/bCpxhiHnGYJHF650DYvnMnElBWICvuJ6WE6m3li S1Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fgct8iNk; 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 w65si2002548oif.134.2020.04.08.06.11.24; Wed, 08 Apr 2020 06:11: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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fgct8iNk; 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 S1729054AbgDHMB0 (ORCPT + 99 others); Wed, 8 Apr 2020 08:01:26 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52336 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729032AbgDHMBT (ORCPT ); Wed, 8 Apr 2020 08:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=yoWrcY0l+M6NFV8Uvzg54oimNxw2jqv1XNGGXoQf8EM=; b=fgct8iNkw4/nL2q1x2CTzoiFy+ GOnBpuDh9nQj7GoWcSmnwnTt+iyfxGbP8DS3O2zEk1a/Hz80jV3EETykN+FmdWPi0NFFG4fvnvdqD 0PBhAbP75T9/HAp4v8SAHau0uicmcoq8heh8c+B/PuFOPYgAm6GN9f7DQ9NqFmO/SCtb1SNmmcFhh Lri2Z9/nLYmaChUWOkqWv0SGr/x6XhzvF/Fe2/Tbr+MYARDTgg+fMOEEtLFD3mb14DiWVTQxS+5D6 XmQEEZ7u9b3j3Dd4druNDiePv9RJH6BsrgK1zZ8J6Gz4hWDS/xLpHuiaWBDA3MgNjfe+IUZvV+acg 3vxyqjUA==; Received: from [2001:4bb8:180:5765:65b6:f11e:f109:b151] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jM9O8-0005qa-TW; Wed, 08 Apr 2020 12:01:01 +0000 From: Christoph Hellwig To: 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 Cc: 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 Subject: [PATCH 26/28] arm64: use __vmalloc_node in arch_alloc_vmap_stack Date: Wed, 8 Apr 2020 13:59:24 +0200 Message-Id: <20200408115926.1467567-27-hch@lst.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200408115926.1467567-1-hch@lst.de> References: <20200408115926.1467567-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org arch_alloc_vmap_stack can use a slightly higher level vmalloc function. Signed-off-by: Christoph Hellwig --- 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