Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp4006340ybd; Tue, 25 Jun 2019 12:18:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxtTI/msstSufQWkCsmheh1SvAgUqqN8ffPaKsxicect6lnn5Evpc3VqLAEl1AThaysUY3 X-Received: by 2002:a17:90a:5d0a:: with SMTP id s10mr491128pji.94.1561490300322; Tue, 25 Jun 2019 12:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561490300; cv=none; d=google.com; s=arc-20160816; b=nw4MFCd+HN+nGhDaqCc22I0+3HHZkL3N/ut35nvtHnH16U1R+3g2JqvZY+3doW5ODV R538RBDRQDOg8odPrjrLhulZd4shdbA/Wyw+1EPnbn84p61yN4atPAky2I0MV9glG/X5 7PEVIvl0H+kKSqDO4VQG3GdOEVF4YxTbJEMqOym+NMav8C6j8/Dko0qt0QRoNtx9ufHN kQtOAgAiNPR90Z61fU9vy1QjiNMdbHS115dUg+BTSIyVbvM+5XWhMw/GPeNzo0Ifm8yX B8YnPWbY/Ebn1LIHi1l81dVyvDHRu/gMxKi77TDDQntd112q14bxN6suZmcSnm1W/q9V 8jtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=ShlWxDXnNwxhdhV0gExeE5jp1UANRMAARZK/oP/4WyE=; b=cfLnHQg7OTtSTw0FMeaoGE58fzDt1Fkh2rxFXJJK2CYoVcBmccxaF2IuDNCUZbC7bW ghVU5g5N2Vs4CXFM8xFxd4Q3z1dWLqgdK0Tsc+SwJgH3ytN2Ga31Fgs8n8xwGSoOxZle qjdp/10DjxXUAOoqHaJZZetZ3rR8MIwz0cJFCN971gOvtJVDlTdqBpL2UoqZxKLZk7Cp oBXfItCft6hZL1U6NTY0VpRi0bAUICBDP+18l8OUS9bKx5LeFtwAAM2gRZT859v3M5HZ x0A8iquvm3QVBe4Neui4mzOWD/vqCQdUsgbi4ZwaAe/q10NEyDf8l2RgCk1ZckPIKnrt J1CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=TpxLW1C+; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=XcIDNptQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si14745pjr.100.2019.06.25.12.18.04; Tue, 25 Jun 2019 12:18:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=TpxLW1C+; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=XcIDNptQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731264AbfFYPvu (ORCPT + 99 others); Tue, 25 Jun 2019 11:51:50 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:57876 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbfFYPvs (ORCPT ); Tue, 25 Jun 2019 11:51:48 -0400 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5PFikoB029025; Tue, 25 Jun 2019 08:51:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=ShlWxDXnNwxhdhV0gExeE5jp1UANRMAARZK/oP/4WyE=; b=TpxLW1C+1AdW1WJpLYldD6Hv7p/DNTiQbRW7VtA2MRj+9KJ+7zqzWJns5TIhzFH1XzwO Q+vYxr21heQXEomla8F882kenk1QVjb+Rbgprs3OMpDStPYwlqp2jMM8Xt7P4PhYJyzE xdA5fPG0lVdDvY9S4sexoWhDEgmsYmI42HI= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2tbn4hrch4-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 25 Jun 2019 08:51:25 -0700 Received: from ash-exhub103.TheFacebook.com (2620:10d:c0a8:82::c) by ash-exhub103.TheFacebook.com (2620:10d:c0a8:82::c) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 25 Jun 2019 08:50:59 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.35.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 25 Jun 2019 08:50:59 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ShlWxDXnNwxhdhV0gExeE5jp1UANRMAARZK/oP/4WyE=; b=XcIDNptQiyeEJXNPAi88ieeUtHwg7KEWaBTX2S24LMbuc6blY8Z5R3+VqPjpjUTjRZCsYqdV5wMj/C8047f8w7W2nlxswzXJtVg24z9oLdar9oLHSWO5aPwXbrE5E9Y9n+a36bsshpPKxu1W3GF7lZ0TgmOBLLgqSVCXoa14OOk= Received: from BYAPR15MB2501.namprd15.prod.outlook.com (52.135.196.11) by BYAPR15MB2501.namprd15.prod.outlook.com (52.135.196.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 15:50:55 +0000 Received: from BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::60a3:8bdd:1ea2:3702]) by BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::60a3:8bdd:1ea2:3702%7]) with mapi id 15.20.2008.014; Tue, 25 Jun 2019 15:50:55 +0000 From: Alexei Starovoitov To: Roman Gushchin CC: Alexei Starovoitov , Daniel Borkmann , Tejun Heo , "bpf@vger.kernel.org" , Kernel Team , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH bpf-next] bpf: fix cgroup bpf release synchronization Thread-Topic: [PATCH bpf-next] bpf: fix cgroup bpf release synchronization Thread-Index: AQHVKjTnfXTg4w17SUSy4+EivgF2L6apsEGAgAB+kgCAAlhLAA== Date: Tue, 25 Jun 2019 15:50:55 +0000 Message-ID: <6eedf3b7-d2db-7348-5969-d57376483961@fb.com> References: <20190624023051.4168487-1-guro@fb.com> <91017042-1b59-6110-dfdd-13cfbbec1ae1@fb.com> <20190624040211.GA10696@castle.dhcp.thefacebook.com> In-Reply-To: <20190624040211.GA10696@castle.dhcp.thefacebook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR04CA0060.namprd04.prod.outlook.com (2603:10b6:300:6c::22) To BYAPR15MB2501.namprd15.prod.outlook.com (2603:10b6:a02:88::11) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::1:ec57] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1376b80-3690-48d2-e284-08d6f984e839 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR15MB2501; x-ms-traffictypediagnostic: BYAPR15MB2501: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(376002)(136003)(396003)(39860400002)(199004)(189003)(6636002)(46003)(6486002)(54906003)(229853002)(316002)(53936002)(6512007)(66556008)(478600001)(66476007)(6436002)(37006003)(66946007)(64756008)(73956011)(66446008)(99286004)(14444005)(5024004)(4326008)(6116002)(102836004)(76176011)(53546011)(52116002)(186003)(71190400001)(71200400001)(68736007)(6506007)(25786009)(11346002)(2616005)(31696002)(486006)(86362001)(305945005)(386003)(6862004)(256004)(8676002)(8936002)(81166006)(81156014)(476003)(14454004)(6246003)(36756003)(2906002)(5660300002)(31686004)(446003)(7736002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2501;H:BYAPR15MB2501.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WYKQDWnYDvTTEdIYyc91YbYDHr/wGxxNbCwFq0xqqgYMbMsDH2RO96VWKKvqWLRDSfidb71UnsRGQvg4/tylN5DZr/vzaJKbn05HibsL93aaob7nuDZU0bZrKNSCUgwz8xo9ZSKbpXPY23zAvbeELkiw6LShXBRTKsLpwTXIccFvV6Ua80c/gFDBc9wiZfFTRIeWPaoqmCP7Z8wwAlIzeaUOGEeflccv3jMBBUaX7JPmeHZTYyd1640uKMfjk5WwC0WtgxKuszSsJ/glqEQrpM8zVCL4MT0VetcLaoHDscIHoDV9ohCOj1JgQ/W3CeGXDudxVi7vbfDksl5Y/GWpainmFZ9Bsevror2btmfUlVdQRWv5VkqEuvCfnIXxQB0/mpCroQE+kTq0qUXp6TfE2FtDxChfKQmrSsM6EytX/ec= Content-Type: text/plain; charset="utf-8" Content-ID: <5F25D1DDA3305544AC10EAD23F0859E5@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b1376b80-3690-48d2-e284-08d6f984e839 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 15:50:55.4206 (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: ast@fb.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2501 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-25_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=823 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906250119 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNi8yMy8xOSA5OjAyIFBNLCBSb21hbiBHdXNoY2hpbiB3cm90ZToNCj4gT24gU3VuLCBKdW4g MjMsIDIwMTkgYXQgMDg6Mjk6MjFQTSAtMDcwMCwgQWxleGVpIFN0YXJvdm9pdG92IHdyb3RlOg0K Pj4gT24gNi8yMy8xOSA3OjMwIFBNLCBSb21hbiBHdXNoY2hpbiB3cm90ZToNCj4+PiBTaW5jZSB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