Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp824812pxb; Tue, 12 Apr 2022 14:30:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxJUqdbZsLJnB3QifdfHS5uEyaK9aon5obKrRxTKL3APHHpKkjCkAb2ujfLs3EY6Obj4La X-Received: by 2002:a63:6e04:0:b0:398:409:2928 with SMTP id j4-20020a636e04000000b0039804092928mr32540118pgc.250.1649799027305; Tue, 12 Apr 2022 14:30:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649799027; cv=none; d=google.com; s=arc-20160816; b=sU4vTqnvrd9pZzsXqdYHxOnsPt40n5D8Zc7elhKjQI0+GbJllTdix3Fn0H+ka9+E9v eovw9YacrnkK2EaLyYCafblzct5DtVdLoUYqMgVsKAIdm8X3/+oStuK3koD2SKyT8Tuc I/hXC0VY9XObU7wbPaIVZrNV/epKi4/S3u4XFSgr2Nb4DNtLpKAAJP9tf3/tLR+zVUUy xL58fZnIc3vuvQRzjBvk6/oj4sd+fJwqFXm+Fy/rIDSqcWAEoAIxhEkNxi4xiuYuytqv stVz6i8tW/HmHjlibvACkOoe04AJjHpDnyVRvpC1Zr0zPIjX5bdnDrfJIp7Pavo35Kiu 0bsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OxfmDZzF7U2WaVKVb/qxbxauejZ04m+glB0gp8MiPa8=; b=nZwszGMq4JSXMppd7twBMDps3zWLU67EqSuEvGdxi5tYkwUYbGbRSmCFm6viL/7beX /0+DmfVgztsLNLQdVuudRQ314nd0dS/RdVLv3dzbXDR9CrKLPJn14jNv18lxgXNRoBcO uO9SEeyS/0e74tRDclAQ7u536gI6lG8GqSzLsS5KN/rmrt3FC12YrM9p/Ehl7hSrvRS0 dOvjNi/eUHavsWVgiveV16zVhAnsEUOUNFCykZvIph3I259PcrDo9mIvcNWSY9CY8u8D XaOt+AsNmdHzkJ5V2peCAy/Tt1HTzZR8tDbyDGbuZvRtLidVd8xd5vya8/ivONdRXKDB OZhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FbNSxhjH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i3-20020aa78d83000000b004fb0c7ab1easi11176358pfr.302.2022.04.12.14.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:30:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FbNSxhjH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 28A3D111778; Tue, 12 Apr 2022 13:39:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348656AbiDLGPK (ORCPT + 99 others); Tue, 12 Apr 2022 02:15:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbiDLGPJ (ORCPT ); Tue, 12 Apr 2022 02:15:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0778329A2; Mon, 11 Apr 2022 23:12:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5E18261892; Tue, 12 Apr 2022 06:12:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5181C385AB; Tue, 12 Apr 2022 06:12:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649743972; bh=OxfmDZzF7U2WaVKVb/qxbxauejZ04m+glB0gp8MiPa8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FbNSxhjHIjRGow1C2VfUJIujqFGq+pCQyUqAUZS+UWOyjYXI9fuL7B1f+SdTvxXew uaU9kTFS08pXh5MbvmqEo41JXKlanRDtgvltm1PsY1n3yLZ1Sg0QbAz7e/D8SzRSOz njscD9c8Sqndt8SWv9DZCnKhS+0IvehPuBiTEvfwPMh+bDwthNFt9M6PzbubL4nxHJ WzGwamwLoEpsy0aR2d3jLd64a1tYiONotTxWbfuELXCPqWvFqXH+hTr2cL4XWpDBPi S2zlDkijO6Di3cf//x1ZwH7T2DxbP50WEvpySw7dzpnp5zm6x0eRi0VlTqoYzIScbx gZE+Br9x4VdvA== Received: by mail-yb1-f175.google.com with SMTP id p65so13092131ybp.9; Mon, 11 Apr 2022 23:12:52 -0700 (PDT) X-Gm-Message-State: AOAM532MvM7/7VfCa0VHBMJ9JP20EfMdYbtdzCqsQI5S+XrJmYPO1EiM 8OaT1Hmcp0oNeXJ8WQBl4ZOhpfyTo45sPA3e/Z4= X-Received: by 2002:a05:6902:1026:b0:63d:cb9f:6e03 with SMTP id x6-20020a056902102600b0063dcb9f6e03mr25539482ybt.9.1649743971903; Mon, 11 Apr 2022 23:12:51 -0700 (PDT) MIME-Version: 1.0 References: <20220411233549.740157-1-song@kernel.org> <20220411233549.740157-5-song@kernel.org> In-Reply-To: From: Song Liu Date: Mon, 11 Apr 2022 23:12:41 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 bpf 3/3] bpf: use vmalloc with VM_ALLOW_HUGE_VMAP for bpf_prog_pack To: Christoph Hellwig Cc: bpf , Linux-MM , open list , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Andrew Morton , rick.p.edgecombe@intel.com, imbrenda@linux.ibm.com, Luis Chamberlain Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 11, 2022 at 9:20 PM Christoph Hellwig wrote: > > On Mon, Apr 11, 2022 at 04:35:49PM -0700, Song Liu wrote: > > Use __vmalloc_node_range with VM_ALLOW_HUGE_VMAP for bpf_prog_pack so that > > That is only very indirectly true now. Yeah, I realized I missed this part after sending it. Will fix. Thanks, Song