Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp582214ybz; Wed, 15 Apr 2020 14:30:54 -0700 (PDT) X-Google-Smtp-Source: APiQypLs86JyAdoZls8pSvSreZJ8Ge6FGWJ7MLdQTkjAkmE0GsX74n83O/cFMxdvTxAr+soea5IR X-Received: by 2002:a05:6402:1c07:: with SMTP id ck7mr6245670edb.202.1586986254332; Wed, 15 Apr 2020 14:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586986254; cv=none; d=google.com; s=arc-20160816; b=bIu2tyAT/Gj/y4UUgdCXs71kQdIZiZ5kTI+fy22KK7vq00eILih7DLxT+e5HzN9FES JuRxiesbL92FsuBrWGeeOU7FaLOF7wI1zKi/XI6LHGN9DHlJCR8ELgouI8HgP15o/Btd /0J0AZk76GDj52V7a2EuTYBKpHXdCfQgmZ3VHHGGlhbpDcm2c1d1E+P7q5RiQvPkTcDB bDVRvtL1NVLLnIXyNrlLX1cWaCauPO9EJ8GX0/aJY+yd6hDi+2AB6ftXHDypzDwJompB MTntAyU9QA1n2WDlZI5M0DmdbacVEiuYeheZHg4wo+mvxaXPOeuh9sq9xrP2TfkMfvHg MjyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=T6z0bd+fqDvkVl7fHhA0/8UcwUryWcByqLrcGyIrH5s=; b=MkGJMXStlvbNnoIGw4Ab/UASE+rJ/Oud3KJro8Xwj4o4vNdcOJveZKOS4Bg6vjh/vY 7ejYhMbK0MnDAB8nmFCJo91rSJpT7JZErTB/ZEJOEzfXXrl++tTA2tIbVVo6FNebGTAL XrII8xTCPVQgXkedji114PhGZyE5ur02DJf9CpYh+FLEWttHnAbnsWpqpDYQUbYcYxQf VwQgBQqYzPkEDNMghuBLJxfEZQG+aIvrgc1A8ih+3ZxrtaEysVEO5w+O5PRjDmLq8OMA x2mGDN2qzwN3AiEfWs29P+iiJSKWkwWvD01MK0dHLu3wQIIEDBY2npV1eXa0RePIMcmN vtvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bOGD0uXf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi17si11743616edb.370.2020.04.15.14.30.30; Wed, 15 Apr 2020 14:30:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bOGD0uXf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502494AbgDNNCm (ORCPT + 99 others); Tue, 14 Apr 2020 09:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2502475AbgDNNCL (ORCPT ); Tue, 14 Apr 2020 09:02:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9952DC061A0C; Tue, 14 Apr 2020 06:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=T6z0bd+fqDvkVl7fHhA0/8UcwUryWcByqLrcGyIrH5s=; b=bOGD0uXfBJxjATisnWE13caPpw yM9EhSXpjZ/69j68Wx2mvv4rPOnCCnL4tZZOnQ/NrScoRBkaop1XY/iOcVOh0AkRZpQOQz5AVjtpv cMV61Q/X5bapJJYHYlrURSsjHy7o3Gg83EN4vlKiDfRTyRH5zdQnD3aKzJJQD/Kfm9D/MZmyrS5dF 6Bl0eEJCl5IRt9WB6xgPE10wzHrxN2D4jZ8Wklbvo3XU7xQtw94VjIEPtaSS9ZKYl/NsjwULmC+Yi /zy17VuWZ3bNc0Ndims46fX3T7ww6xbwzSO+4eEXTFMbss0b2VRfn9nH14CqQ8MjZl0Uf7RSHY+CP kRablIbA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOLCV-0005fb-Ei; Tue, 14 Apr 2020 13:02:03 +0000 Date: Tue, 14 Apr 2020 06:02:03 -0700 From: Christoph Hellwig To: Nicholas Piggin Cc: Christoph Hellwig , Borislav Petkov , Catalin Marinas , "H. Peter Anvin" , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, Ingo Molnar , Thomas Gleixner , Will Deacon , x86@kernel.org Subject: Re: [PATCH v2 4/4] mm/vmalloc: Hugepage vmalloc mappings Message-ID: <20200414130203.GA20867@infradead.org> References: <20200413125303.423864-1-npiggin@gmail.com> <20200413125303.423864-5-npiggin@gmail.com> <20200414072316.GA5503@infradead.org> <1586864403.0qfilei2ft.astroid@bobo.none> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1586864403.0qfilei2ft.astroid@bobo.none> 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 On Tue, Apr 14, 2020 at 10:13:44PM +1000, Nicholas Piggin wrote: > Which case? Usually the answer would be because you don't want to use > contiguous physical memory and/or you don't want to use the linear > mapping. But with huge pages you do by definition already use large contiguous areas. So you want allocations larger than "small" huge pages but not using gigantic pages using vmalloc?