Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1335911ybm; Wed, 22 May 2019 22:35:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbRnrjjxKwUAR5Kg7WYbiBtsVVD1MTnlMOdQhJFIiqJwS/cAVFU0Y2UrdqXVmO8rHhaYaP X-Received: by 2002:a62:ee0a:: with SMTP id e10mr101515177pfi.6.1558589756652; Wed, 22 May 2019 22:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558589756; cv=none; d=google.com; s=arc-20160816; b=lpofYMVTmE+70tJJJ+xJVsJnEGfxlnmTSHN/S9kUO6qdBFkw7Qrf5O5OsNvSZ4v5M5 xHo9tmqj+RBpd7lzhFMEqeWQuJ9PwOOMbB1mYssFfLDXxBrXs2a3TpNHIfDZODWmbu0h FsDha0bzDAj8w5bqQcbzV6oLSNIV0IwvTd6V5b9m1DFatAgODwlATTTcsikSrYsklqG8 kSHcEiAdX6Lm9jO8a7PXvUqARnYil3QSwZvGE0MOK6QBMaBZ/+9JgvylrZ0oeTS//6XA L6C2xPNUYBJSV4+vYiPvigUA9VpQZs44Hg4TPOGEW/i4ugOk3S5pD43gL3nGhSq4Xrce imFA== 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=YTNDL9JYQFyG9rL19fZF2L1zUVgike9zAG3uJZAduKY=; b=CEF7DueHQjthcY/NVTA0qFVhJBSOPbmDkTp2pQRhebcVO5eCwosOhYOxQCoPm37m8U THsaM7LH3gw0rOWpsx8n7H74ihxsS6mZRSSBSX46p/LSiR9m9n1tGWQFQ1Oo1nTRdwto HPYkQxCunXggLy4XPEgEvRImEvdE+WlVhCkiJypFr6grV/1wGocvys0rYku/cCQsJ6xS DzB3U4wINwyM5bzp0fOIGLYnkpD4+EZDB0yNZyY9OtsRzUc8d2KHn+UtV4fUpa6E+Lhg BJ2ZdDVwzu+ryN7CHtqpjShwDvlk+OF9NUNAQ48tA08AfrjbKlU1+QRwr/xQXc9p/y1l ZxvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=JbTK75rV; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=H1ixN45m; 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 k62si28616212pgd.502.2019.05.22.22.35.39; Wed, 22 May 2019 22:35:56 -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=JbTK75rV; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=H1ixN45m; 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 S1728109AbfEWFeN (ORCPT + 99 others); Thu, 23 May 2019 01:34:13 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:46920 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbfEWFeM (ORCPT ); Thu, 23 May 2019 01:34:12 -0400 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4N5WXf7025937; Wed, 22 May 2019 22:33:49 -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=YTNDL9JYQFyG9rL19fZF2L1zUVgike9zAG3uJZAduKY=; b=JbTK75rVaoFAfV/dyEOHl6EKOPPIq9MBS+iBYkr67knfCm6ECjVueKQ6StkABiD0oFYU jNISXNLpKENlrd7TAX8WXLmIz7douMa6QsyGx6l2NC2oANqFi4c2GzfK+nha+d7AVCvg Pjf4ZJTu0UGWvUwZo3NlDTuvRZrMmeCV20Y= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2sn9bgtj9w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 22 May 2019 22:33:49 -0700 Received: from ash-exhub101.TheFacebook.com (2620:10d:c0a8:82::e) by ash-exhub101.TheFacebook.com (2620:10d:c0a8:82::e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 22 May 2019 22:33:47 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.35.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 22 May 2019 22:33:47 -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=YTNDL9JYQFyG9rL19fZF2L1zUVgike9zAG3uJZAduKY=; b=H1ixN45mB8QST0QWm2Y0WLuEHEoxheunJjsC/PhPWrkhpp5vQj4Q5TVD0hnx9SMQ9tTl5/Hw+LsqDCH8R/UvJX6nuEejPBcFJAZzHBVEsiBh2F11v/52JM6p1U4BzDUvYmnAgPBF9FGswHfmk7h1QxUKVubTTeHrK72isGyS8C8= Received: from BYAPR15MB3384.namprd15.prod.outlook.com (20.179.59.17) by BYAPR15MB3240.namprd15.prod.outlook.com (20.179.57.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.17; Thu, 23 May 2019 05:33:45 +0000 Received: from BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::956e:28a4:f18d:b698]) by BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::956e:28a4:f18d:b698%3]) with mapi id 15.20.1900.020; Thu, 23 May 2019 05:33:45 +0000 From: Yonghong Song To: Roman Gushchin , Alexei Starovoitov , "bpf@vger.kernel.org" CC: Daniel Borkmann , "netdev@vger.kernel.org" , Tejun Heo , Kernel Team , "cgroups@vger.kernel.org" , Stanislav Fomichev , "linux-kernel@vger.kernel.org" , "jolsa@redhat.com" Subject: Re: [PATCH v2 bpf-next 1/4] bpf: decouple the lifetime of cgroup_bpf from cgroup itself Thread-Topic: [PATCH v2 bpf-next 1/4] bpf: decouple the lifetime of cgroup_bpf from cgroup itself Thread-Index: AQHVEPV8fnh1KoyybESqE07m+r7jv6Z4MDwA Date: Thu, 23 May 2019 05:33:45 +0000 Message-ID: <530bba0f-9e13-5308-fc93-d0dab0c56fcc@fb.com> References: <20190522232051.2938491-1-guro@fb.com> <20190522232051.2938491-2-guro@fb.com> In-Reply-To: <20190522232051.2938491-2-guro@fb.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR08CA0059.namprd08.prod.outlook.com (2603:10b6:300:c0::33) To BYAPR15MB3384.namprd15.prod.outlook.com (2603:10b6:a03:10e::17) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:180::c87a] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 72bbd13a-26da-44f2-f0da-08d6df403924 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:BYAPR15MB3240; x-ms-traffictypediagnostic: BYAPR15MB3240: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 00462943DE x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(39860400002)(136003)(396003)(366004)(346002)(199004)(189003)(2616005)(5024004)(256004)(66946007)(66476007)(66556008)(64756008)(66446008)(73956011)(2501003)(486006)(476003)(68736007)(4326008)(46003)(71190400001)(14444005)(25786009)(186003)(316002)(71200400001)(5660300002)(81166006)(31696002)(6512007)(11346002)(446003)(6436002)(99286004)(86362001)(8676002)(81156014)(6116002)(6486002)(8936002)(6246003)(36756003)(229853002)(54906003)(110136005)(14454004)(478600001)(76176011)(52116002)(102836004)(53546011)(6506007)(386003)(305945005)(53936002)(7736002)(2906002)(31686004);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB3240;H:BYAPR15MB3384.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: IlQejTvoaVsAVpHJH8H88OgSHon/kD4NwZcV50bX8kVl3jRn2/ysazJoUXWTQLq2yIqHShzYWUoeRLyDApw4lHAlAx3cO9r40w3dBSlU/pAAOwj6QL06yffTvbvKcYqRRujYLAKheKmG273zG2tzf8oJSHZUKFE7mLsrMy51A2Yi16EEsk8xB0Al6KVoaYXgpttj25QgMdK0cEKVCEA/EQrOa36Rio2Ph5rJ//9eCTTn42YVGOKMRalxtpe+Qp12Ezm0K7geu+SmJT0TvO+eavX9SKrAjIa8vfv+nv5wLaaUXGkOE/6htpfiyWkFnDbUe7GwJJ7DzXwFt7h/r/+ivlHVlWpeRHGrh29eJ0WeUoeUkcMxdfyenBc79diDfjStFcZH4CwbF6KTddDIvW3TTJanWkUBSAmjV7iERwnI3R4= Content-Type: text/plain; charset="utf-8" Content-ID: <30619F7B64C7734CABEE2D10DE1CA489@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 72bbd13a-26da-44f2-f0da-08d6df403924 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2019 05:33:45.2035 (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-Transport-CrossTenantHeadersStamped: BYAPR15MB3240 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-23_05:,, 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=640 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905230039 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDUvMjIvMTkgNDoyMCBQTSwgUm9tYW4gR3VzaGNoaW4gd3JvdGU6DQo+IEN1cnJlbnRs eSB0aGUgbGlmZXRpbWUgb2YgYnBmIHByb2dyYW1zIGF0dGFjaGVkIHRvIGEgY2dyb3VwIGlzIGJv dW5kDQo+IHRvIHRoZSBsaWZldGltZSBvZiB0aGUgY2dyb3VwIGl0c2VsZi4gSXQgbWVhbnMgdGhh dCBpZiBhIHVzZXINCj4gZm9yZ2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