Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3840597rwd; Mon, 22 May 2023 22:16:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6yP4hYzWL8y8tLM0mZ5LOaQy+QNPyjKgwvZlCC8g+rRr7Vzcos/RAkfMhI5fGpSjJUWOS5 X-Received: by 2002:a17:902:eccc:b0:1ac:76a6:a1f with SMTP id a12-20020a170902eccc00b001ac76a60a1fmr18257078plh.16.1684818959887; Mon, 22 May 2023 22:15:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684818959; cv=pass; d=google.com; s=arc-20160816; b=vESoLiB9WWrNHWcY4bL39dPOJZBY8X8/XQq6TIZMwEoWqxL+lsdtn35/14F3zCRQUd XU4AnMr1JCFARjXnIffzd+qOLIgSWCnnDNSqrjHWpozG7Q8Wl2O/cPqlw9GlQQbv/FHd bBCOh3nmDCzXtOqdPLwrxUyhYXVd++PqqgzTtzNZnsfh08GH46n9kqgS9KAg3YATnpqO n4hua2JyQYi1OGHET9WUvQJmWsTquof3tf+HLvGOw3VQ2tMh7aLk7Xo+1pm+Ie6XD+I3 c6YHK6vCw1g87SdBEG3Mc5hgVEH+rodJ5rfwU+4RcJvl5RVV76DRtNVUoxx2IwzVVltz Q0rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=iorXIOr6cB3XBKAzzdPYS8VbsIkupCxf/7Fd1DpsBbY=; b=rt3IYo1d2oZsn5bARqFswSplTnlOoijtkv4PFVxjVBUSaGNGeWxhHMnjCcqGWZOfnI mYFo2VSrdJnS6qKPGlHlOv2IonRzwCOtYVpw3kEt8TtRGAzY9vHXcifxrK2AlPLLaEFx xARIJVC3VHBs4X0DshW6bz02bJ2wDCqs67Bcm1yOPihlrg3tVUHe0lemIHVgIQFeF/Ak OhdvnaWlNhcuu7vMRP5jgDUJpjbtstskSVjbFuQtTVBTddyGdEnk+E5rgt991un8VXY/ exbO+47w4epJMPSkSZTKFYIH/xZLlzX+/SIevMzT6LfsKUTUA4v6vyBMDQJIMT+synkk qf1w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@meta.com header.s=s2048-2021-q4 header.b=FWSc544I; arc=pass (i=1 spf=pass spfdomain=meta.com dkim=pass dkdomain=meta.com dmarc=pass fromdomain=meta.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=meta.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kb14-20020a170903338e00b001ae788e1660si5420924plb.441.2023.05.22.22.15.44; Mon, 22 May 2023 22:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@meta.com header.s=s2048-2021-q4 header.b=FWSc544I; arc=pass (i=1 spf=pass spfdomain=meta.com dkim=pass dkdomain=meta.com dmarc=pass fromdomain=meta.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=meta.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231565AbjEWEjP (ORCPT + 99 others); Tue, 23 May 2023 00:39:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbjEWEjO (ORCPT ); Tue, 23 May 2023 00:39:14 -0400 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D9E0FA; Mon, 22 May 2023 21:39:13 -0700 (PDT) Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34N27hPV001585; Mon, 22 May 2023 21:38:25 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=s2048-2021-q4; bh=iorXIOr6cB3XBKAzzdPYS8VbsIkupCxf/7Fd1DpsBbY=; b=FWSc544I+druROwWrwolErMRcysDH2etEBOMd7PE4EGQoyQHFKPS6+jgqnLotcOwYzR1 4OD7ENgOUmj1WIPF31wAHrgG7UhFVACDPq7hytQm4V2dlC4L9zzpKT0i2YwYixIr5/wQ JBXIBzNRISuIMNR3l1DxYelu6A4eRKlSFwRaJ67vsWTWtgrpeGKcb3pgVyCePkN9AUK+ XpS8CCIfRP5NiZxPMSJ+Uu1eh+KRTKZPvyUemGFEAs69YheZy+5704lDhBRba/0lTqbZ 33iJna/V81WLCD3CkWAvDUwomKzuHHhGsqj72NLG2u+4K5nGsh8R2nl7ztxE34vwjDXY Eg== Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2040.outbound.protection.outlook.com [104.47.66.40]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3qrme50qm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 21:38:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jUZ6mkiPQv3bhYv2pfPvvX4IC8FjQBQ9Kr5GNNltdYFBwqW2tzLhaqZyp1kkMDgbT67PJGAa2LfJRaZqsHAFvxPztDLTVGuPGqjOgQQkgiDBJ899IRwA5SoUEaJFWJXc92He3GIP3/V1gRRp/2+cw+9YQPxgG4KF5Xe7NgXFHOzgtaZ7+LJWcxnYcAqahk9kMUIViiFqFn1O2oaebdk+v3Y0by+2soVzW/XUOaOrVDFAyX/gns/YaDt1yf05baUdrETwR/bUSUpzLDINBqX2aSR82A2iVINIQTY/ZFUttwyWfbFIkvd7oucq0AusPmBeW0vAgVnwgRRZy3vlm2iYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iorXIOr6cB3XBKAzzdPYS8VbsIkupCxf/7Fd1DpsBbY=; b=Mc2/yedYJCzIJckL/Qif8FT9uitHgihazi3boaUihhiVu+pHF+qlPJ0GZP1c0uTRnm7jDm7tjptkymhRRXF6n3DDrhL2Sm4CTUe0QilNpeNbMCvoDD70pj8UYlYkhGUNn9B8vPPz/GKYwXVv8yOXBsFf/Y38Z49glkXlcTkvSt+wf38EUX5KNl3ApZYSECs1tJWZ/TWIPKu2U9rsC2g4jv32s07tZ1SyZ+pxoCvU3PdKq106sFWDv57/9s9TBWFFIfswLKMpGkmZgfcqs6NSc+X7cjqO1YTC9pc/GJzb+vppmLRQDGjJd/df9YyLfkSV3T8vSmn1Dlgwu5aQfSZTbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meta.com; dmarc=pass action=none header.from=meta.com; dkim=pass header.d=meta.com; arc=none Received: from SN6PR1501MB2064.namprd15.prod.outlook.com (2603:10b6:805:d::27) by PH0PR15MB4231.namprd15.prod.outlook.com (2603:10b6:510:23::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Tue, 23 May 2023 04:38:22 +0000 Received: from SN6PR1501MB2064.namprd15.prod.outlook.com ([fe80::589f:9230:518:7f53]) by SN6PR1501MB2064.namprd15.prod.outlook.com ([fe80::589f:9230:518:7f53%7]) with mapi id 15.20.6411.028; Tue, 23 May 2023 04:38:22 +0000 Message-ID: Date: Mon, 22 May 2023 21:38:17 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: Content-Language: en-US To: Ze Gao , Jiri Olsa Cc: Alexei Starovoitov , Andrii Nakryiko , Daniel Borkmann , Hao Luo , John Fastabend , KP Singh , Martin KaFai Lau , Masami Hiramatsu , Song Liu , Stanislav Fomichev , Steven Rostedt , Yonghong Song , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, kafai@fb.com, kpsingh@chromium.org, netdev@vger.kernel.org, paulmck@kernel.org, songliubraving@fb.com, Ze Gao References: <20220515203653.4039075-1-jolsa@kernel.org> <20230520094722.5393-1-zegao@tencent.com> From: Yonghong Song In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0269.namprd03.prod.outlook.com (2603:10b6:a03:3a0::34) To SN6PR1501MB2064.namprd15.prod.outlook.com (2603:10b6:805:d::27) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR1501MB2064:EE_|PH0PR15MB4231:EE_ X-MS-Office365-Filtering-Correlation-Id: 09f43b18-1970-411c-f023-08db5b478a21 X-FB-Source: Internal X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xkOR5G134QVYgZRMEhexHUSHXLk35aUgBf7BRlDHHxZAJGyVi26AIzBFw6+zG1fLJqNY4xj4a3kbWyDOlyR4a6HaPp2MYJIxWGRCXdd9p986QQVjAC6SmlfQm0LlEAfmMtUXPhYhd4fpTFprNZh3mkDjEFZse3EvKOiTBB/BBuMRUwPbVyigX++sAUFsvrOQ1tedl0H7DecMkua0EW+WauL6Ffki21j5y9njRmyaI2wT0D6td/MpsJP15LpReHgpXhU5gIj9ZcNV0QV6SHf/QYU5HMj9w6yUJyXZtX0u2sot0FQTu7QhIsd+UpOuTcjl1R2ctFzO37nT/s371N1BAS7S8ZPivQFbUsTmtfiymJKFDce459EqbmwUOTOa1TTriO+kt+ayaw1XkkYIAbpfmGCOOq1qr0fsNQK8VF4Jeavx34JqdiSBSasngC0M21nzoQEynfc2kUuTMDn8nYjwC+FTI8rN8jF9h8crEWyIWfUYn7OloTFKiYkxDMMf773n/K9wGxC3Ud+grLc1GkSHzEfmywxbecNpi7Km4dlfK5NDqeFQzNKBf2J8aW8KQ4RIyBHqYcL7N5+A1+lp9GBQZH1oiFfQfH2ATIQIeHqmrBjYJ6AIN9obeDUZA+gKqEjvYw3GGZHVIYtQkmoQhDquiw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR1501MB2064.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(39860400002)(376002)(346002)(396003)(366004)(451199021)(54906003)(110136005)(31686004)(7116003)(2906002)(4744005)(7416002)(5660300002)(36756003)(8676002)(3480700007)(8936002)(41300700001)(4326008)(66946007)(66556008)(66476007)(478600001)(316002)(6486002)(6666004)(6506007)(31696002)(86362001)(53546011)(186003)(38100700002)(6512007)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cW5vZ2dBWk5heVFQZkE5MlRwb0h0SnJ1ckRyZUlFS3pHekdHOWFDc2dZK1pq?= =?utf-8?B?KzFQN2ZXeGs5QmxGdnZ2cWI1SGJ4ZEIwRjY3Y0tMQW8yTFJuMi9yTUpkZnFG?= =?utf-8?B?RVVyL0N4Rlo1V0RTUm1yN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mE0?= =?utf-8?B?ZVJuV0NTVy9yUWNvTHpDeVplUHBLYk1lNVNNSHRNa1d6ajhsM093UE9QRU5S?= =?utf-8?B?NWRpYlRsSmgrcHhYbEFOQ3pqVXYwVEkrRS9UMEpra2NSUmRVY0doYXdJZWxS?= =?utf-8?B?MmYrS3JScHFCL1k5cXRUdksyZ1VqS2ZCV1p2eUQvK0hGUngwUEh4UWg0NWJC?= =?utf-8?B?eXFKcFhJVWlrVU00c0xOUG5hejFNczEzNFA2alF5T0VyMFhBdW5iVkhBZlFi?= =?utf-8?B?L0E9PQ==?= X-OriginatorOrg: meta.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09f43b18-1970-411c-f023-08db5b478a21 X-MS-Exchange-CrossTenant-AuthSource: SN6PR1501MB2064.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2023 04:38:22.3319 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Kv1es+faad4hCxWZGV+a/FFx0VwivRVZslOVLEVCD9zjW5EK19bHZ9SM8su420rE X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR15MB4231 X-Proofpoint-GUID: fFS0TaRGyTON7-l_Lo3O2BfMkVB9-i8i X-Proofpoint-ORIG-GUID: fFS0TaRGyTON7-l_Lo3O2BfMkVB9-i8i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-23_02,2023-05-22_03,2023-05-22_02 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 5/21/23 7:07 PM, Ze Gao wrote: > Oops, I missed that. Thanks for pointing that out, which I thought is > conditional use of rcu_is_watching before. > > One last point, I think we should double check on this > "fentry does not filter with !rcu_is_watching" > as quoted from Yonghong and argue whether it needs > the same check for fentry as well. I would suggest that we address rcu_is_watching issue for fentry only if we do have a reproducible case to show something goes wrong... > > Regards, > Ze