Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4397075ybb; Tue, 14 Apr 2020 06:33:45 -0700 (PDT) X-Google-Smtp-Source: APiQypLENt4w48VU3uDSgJBGA7qOTxx+hExMj+oBCdHwXlmlDM5hETsHBVKqIaDFi4HaG+hYQMNx X-Received: by 2002:a17:906:a2d3:: with SMTP id by19mr114246ejb.370.1586871225036; Tue, 14 Apr 2020 06:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586871225; cv=none; d=google.com; s=arc-20160816; b=DCTXAPp825Njj7mnZKErVQv6JN0clHzmrzZFo4BfVheSUumKCNqZ1CiXdy9aU8EAD0 BMYrkT+mHIULH/qRvk4KyOsTxqm5fstJqRgkmN3tb4HLH1r9QjaZnPiJilJuOp35bKMI wslf7Tgpd/He9E6Xa4lZTeIQYM6myvB2uPTOQYF9n1rHpjhK9P1cu9+KpHvunzX68wC4 Zrf4YkmhrfHgE9vKUG86G4WU8wqpVOo4jk7pTUi0dyovI25ARgdaCzAaTShXOFPGpf3T D+p1TVt/Gd3fIxVgSy9SW78wbixKnBNaPMNMrU9GV7qhbB2j1Eqz/XyJsw+67+doQxdF F/Mg== 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=OEtNtfUfCfknsSkfuodbs8GxJYII1GNua8MgFwL7K04=; b=EXtERtloC2R6mS1oX0X0OJpmtbr4Z8t6KBvv6uyWmHD1zojqSuiQdfnQqowIhQODdT xtwlcfXlISgJegAnCfxcN2oHaMTurLJVMHU/b2JpzJqn7HvYVGWuJ9mL3IVM2iC6UIyK UX4UxDl4qHHFSnU/DcC0GT4e2ka6IANJUsFKVFAS6UUPMhKGA0ILzduJEYhbO2DJhrpb bikrZHGjjGt2gUtUN279kazijLc9dzZpmWTM00pNLXSbTDRXZzY6yW6qSzNSXjXp7vyY hKyPN0Wjm080kisujNg5HEno7cyQD1qHuir8bBuQqIoa8Tbbil/wGM8ZwoZFXwC+VDaD dGWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=juG10l2Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si8302587edq.67.2020.04.14.06.33.21; Tue, 14 Apr 2020 06:33:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=juG10l2Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388202AbgDMUDL (ORCPT + 99 others); Mon, 13 Apr 2020 16:03:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2388135AbgDMUDJ (ORCPT ); Mon, 13 Apr 2020 16:03:09 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08163C0A3BDC for ; Mon, 13 Apr 2020 13:03:09 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id l25so10852439qkk.3 for ; Mon, 13 Apr 2020 13:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OEtNtfUfCfknsSkfuodbs8GxJYII1GNua8MgFwL7K04=; b=juG10l2QIUDc0d5n1SeOUdB0siwuJQOGCU6pnQRUaf/usairEJnMWI4NCHxVUL2frR HT8Dj0G2KFCEAuDZkPEiGVv3NLV5ooo7kJcA7V4T4xV81925vc++8cQ5KHVSBI1+By+5 +/+66XSDZZW/XkKLCzanTlv78m+KRuVYwmVlKC0N09gqxCMtKrGm1srU2i7+Kw1dkX5x DPoyq7kDqoEsqgMu8qGEr3vtIBlmiQWaBKBOz/tbp3ah+kvBa7aU6x3A1gaLlMlwJUeg hUM97swfra3YIkYNCDFX0ZcS8Au+7KacD3c88l4X9gBMGqiNfPjeT92Va5NYJ5lvz0rD aygw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OEtNtfUfCfknsSkfuodbs8GxJYII1GNua8MgFwL7K04=; b=eJ1QFx/jg6ln3BrBLWdwsn95d4nrXPnqC3UwZRiXhVSmcmWxzyixpGrowQJiy2xZuE HHYXm7GePnuuKwFUUJmSXmO4CrB3peFMDwaFeUf1vnvZharcMxp5Xkl17c/M25UUg+Fo SLtz5ESXlHCxi97Z2zizzx3SvJNGWv/NxxZH6wlnYDtgIShdaYjCuXYYgfebq3AY6Nrn HFyM1BDPP+kQC1yiUzqYEmxpwlhqJIwkMFCkjMwzCa0TnyFm3w5/X+/VQlrk+Z8SWU/A HtptY1L9ayHhQKJOWn0rQrYhGPmF0kRl0excZNdQqquQS9qPY84w/pxiqoaerSqNdpeY B73w== X-Gm-Message-State: AGi0PuaY1/vXEoC87+fsp8XUapG1k2WTmyn5k85sVlJcH2uH6ztuFP2u wSl+9tPpzvgcdAcrfjDdga2Iug== X-Received: by 2002:a37:d93:: with SMTP id 141mr7293908qkn.32.1586808188246; Mon, 13 Apr 2020 13:03:08 -0700 (PDT) Received: from localhost (70.44.39.90.res-cmts.bus.ptd.net. [70.44.39.90]) by smtp.gmail.com with ESMTPSA id x66sm9119423qka.121.2020.04.13.13.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 13:03:07 -0700 (PDT) Date: Mon, 13 Apr 2020 16:03:06 -0400 From: Johannes Weiner To: Andrii Nakryiko Cc: Christoph Hellwig , 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 , open list Subject: Re: [PATCH 25/28] mm: remove vmalloc_user_node_flags Message-ID: <20200413200306.GC99267@cmpxchg.org> References: <20200408115926.1467567-1-hch@lst.de> <20200408115926.1467567-26-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 09, 2020 at 03:25:03PM -0700, Andrii Nakryiko wrote: > cc Johannes who suggested this API call originally I forgot why we did it this way - probably just cruft begetting more cruft. Either way, Christoph's cleanup makes this look a lot better. > On Wed, Apr 8, 2020 at 5:03 AM Christoph Hellwig wrote: > > > > Open code it in __bpf_map_area_alloc, which is the only caller. Also > > clean up __bpf_map_area_alloc to have a single vmalloc call with > > slightly different flags instead of the current two different calls. > > > > For this to compile for the nommu case add a __vmalloc_node_range stub > > to nommu.c. > > > > Signed-off-by: Christoph Hellwig Acked-by: Johannes Weiner