Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3665481pxu; Sun, 11 Oct 2020 19:25:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpWZXJ5FaevwJfCGxKHP5QnrC5p0AZ2NUT1FMKWzVeNHQgUaswF6Xvdnmt2YIZ353P07L6 X-Received: by 2002:aa7:c3ca:: with SMTP id l10mr12016009edr.72.1602469523995; Sun, 11 Oct 2020 19:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602469523; cv=none; d=google.com; s=arc-20160816; b=Kr5XzNPfpnjGvjlY/5Tpkercpk78zDccFJFjR3dgQVvswoZc18AVwhYa0xIILh/57L TKGkJ/fW2bcQ9XVAS6e+JVQmOJ/Al2XC3qriPcF4+zWkGFPR2HhUUaqb6Ib14LpNCR1/ s3QvXbnaurPX5vmfz8+69lwC9LIgBxN+RPnOHnnuuNS8MI2WB9Yt7m+164EP5eNoeNgq fvjR2+ziCJxOdhH5a0S7rTzzVDvYOar1qkqQ0aP5IGv4SKQuSTXlWm9/FI8etcNStj4y fQbCfd6n+bZ7vd8H1iPu0oG6DFjLsQqPJsJtlX2u+IQlCkFjBnEhys4+22qwwq63WaWv Im1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=UyDNy/v6Jqxo7htQ3Wq10Op3IMPAl9zVkIWeYHyFvxA=; b=nyGhVaADuuBxsjAcQJ9lr+WH0iuZ1VQvxuJ4NtlJUUy/TuVz9KWMj7lyTWxIg33X4I kzQtF14CKBF/VbRfeE3Zg/ZhheaeXg78nPzLhUhntNpjLHYDLfTqqEZoL/Fkpac/9Tbk 77q8cmwQsCYB0VvHHYqjmkq2Vz/6J8Y67Ld2xqpRry4ALDVCu4RT7yEcao636dCWiYyi x/Npp4YdvvrmbBnmAftJFXlqn05VopKB5/PK6wUFKtUdGxHx6VVqE9ToMRNCvcoS8U6g ipy3IUc/ABIYythskxRF1BJZec6+VpVqV88GvDp96OlFUBEl8qDbqpqfciD63f8IIFVg 1bpQ== ARC-Authentication-Results: i=1; mx.google.com; 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 h23si14159311ejx.721.2020.10.11.19.25.01; Sun, 11 Oct 2020 19:25:23 -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; 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 S1727412AbgJLB0y (ORCPT + 99 others); Sun, 11 Oct 2020 21:26:54 -0400 Received: from smtp.h3c.com ([60.191.123.56]:31220 "EHLO h3cspam01-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726543AbgJLB0y (ORCPT ); Sun, 11 Oct 2020 21:26:54 -0400 Received: from DAG2EX06-IDC.srv.huawei-3com.com ([10.8.0.69]) by h3cspam01-ex.h3c.com with ESMTPS id 09C1Q0W3023693 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Oct 2020 09:26:00 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) by DAG2EX06-IDC.srv.huawei-3com.com (10.8.0.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Oct 2020 09:26:01 +0800 Received: from DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074]) by DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074%7]) with mapi id 15.01.1713.004; Mon, 12 Oct 2020 09:26:01 +0800 From: Tianxianting To: Alexei Starovoitov CC: Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , "Jakub Kicinski" , Jesper Dangaard Brouer , "John Fastabend" , Martin KaFai Lau , "Song Liu" , Yonghong Song , Andrii Nakryiko , KP Singh , Network Development , bpf , LKML Subject: RE: [PATCH] bpf: Avoid allocing memory on memoryless numa node Thread-Topic: [PATCH] bpf: Avoid allocing memory on memoryless numa node Thread-Index: AQHWnuLrmIxw4uY1XUG+lUKVObi7NKmSqAmAgACHNeA= Date: Mon, 12 Oct 2020 01:26:01 +0000 Message-ID: <21cff6313475470e9b316911c748f890@h3c.com> References: <20201010084417.5400-1-tian.xianting@h3c.com> In-Reply-To: Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.141.128] x-sender-location: DAG2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: h3cspam01-ex.h3c.com 09C1Q0W3023693 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhhbmtzIEFsZXhlaSBmb3IgeW91ciBzdWdnZXN0aW9uLA0KSSB3aWxsIHRyeSB0byBkbyBpdC4N Cg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEFsZXhlaSBTdGFyb3ZvaXRvdiBb bWFpbHRvOmFsZXhlaS5zdGFyb3ZvaXRvdkBnbWFpbC5jb21dIA0KU2VudDogTW9uZGF5LCBPY3Rv YmVyIDEyLCAyMDIwIDk6MjEgQU0NClRvOiB0aWFueGlhbnRpbmcgKFJEKSA8dGlhbi54aWFudGlu Z0BoM2MuY29tPg0KQ2M6IEFsZXhlaSBTdGFyb3ZvaXRvdiA8YXN0QGt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