From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46EB7C2BB1D for ; Mon, 13 Apr 2020 20:03:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1D43A20656 for ; Mon, 13 Apr 2020 20:03:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ni9M7HE9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cmpxchg-org.20150623.gappssmtp.com header.i=@cmpxchg-org.20150623.gappssmtp.com header.b="juG10l2Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D43A20656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RY6jqSMKM6thj46BGCcqiV+p5099vvDFjJh6HjJz8Cs=; b=Ni9M7HE9trub6G +rdH2HJBzjALv7MnrPoG/x+glC6In0k7Exhe5dSVcYHwuaPWc1wLj8gjhHRDyDVyNgRzvEylCh8uU IVVR4fKuzH7/XoUI5PeTBuaPe6v6K2oKKF10Am/iesHMq28gdvuKJ6JuJn+nfuhRympDVTJXTP+Br UcZUvNQwESLn5rmJsncRnzjZQCLe8xy0zIhAyVf/NyFTZBQh6QExY1D+dF5SoPwaLIEkkNGzHcnSy ETkPIBICXjSUrM6wyfu7ytEeJZ/MewgRDInCw7RTQ8U+ss32IsMX+n+5EAUgaOgCUhu7qMtzm1L1E WrxIu4VxxZnoB91Lrmsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jO5IX-0000FJ-85; Mon, 13 Apr 2020 20:03:13 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jO5IU-0000Er-AU for linux-arm-kernel@lists.infradead.org; Mon, 13 Apr 2020 20:03:12 +0000 Received: by mail-qk1-x744.google.com with SMTP id t3so7006825qkg.1 for ; Mon, 13 Apr 2020 13:03:09 -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=uh6xTeWDVv/5LvqoOl7dKGfCsaquC/+CUBl1goWi5ReJlV22fge8T+njOtqy5Ygx5q H3po+qZrJKKbVYESwfvNwH55N0oh3agffI17fwwloysBN52W/IS+yKS51HEAV9+WF+HK 6CfsfA7d2KfPKWgQyceR/kMF+xZcWk5ci1+fjvCcZ8zg37iRmcHPpcOBuc9yq1t4FrvB 5+DIPZQKUFi9aR99ptGBgNUdw5d+wEnvGEahXo9eJMb0JNkTySL/ZRC9DsKJrh1eDPdC AR2YpTNbLhpcsS3hZL+bM7evtNM3KfmABJiJ+abMIAQj9AFGFFvpc+me6WWvcO60xOXi fpig== X-Gm-Message-State: AGi0PuZuuN6ylGUUTuTOcGQDBan5BLFy//Ry5A4AzXQOhv5iPZslLA9V KRy+5FaoeKQHV7Jc6KiHcc7R+Q== X-Google-Smtp-Source: APiQypJVwvSR1oEkK4bhCoeIIw8batoCJN92/jh4PNjnx+deBvO5XKiPj+RRAmN7IK2twvZnNWUNMA== 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 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200413_130310_420778_BB7A6A43 X-CRM114-Status: GOOD ( 11.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hyperv@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, linux-mm@kvack.org, "K. Y. Srinivasan" , Sumit Semwal , linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, Wei Liu , Stephen Hemminger , x86@kernel.org, Christoph Hellwig , Peter Zijlstra , Laura Abbott , Nitin Gupta , Daniel Vetter , Haiyang Zhang , linaro-mm-sig@lists.linaro.org, bpf , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Robin Murphy , open list , Minchan Kim , iommu@lists.linux-foundation.org, Sakari Ailus , Andrew Morton , linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel