Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp100358imm; Fri, 6 Jul 2018 14:54:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf7pYEDq+xubMycsBvUiVilul+P52sETSnZJYt8sDvEXt7xgYlwrhloGl9r6+/MGdvdw/iF X-Received: by 2002:a62:2605:: with SMTP id m5-v6mr12131106pfm.223.1530914072941; Fri, 06 Jul 2018 14:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530914072; cv=none; d=google.com; s=arc-20160816; b=xkuudsTm/b7LrF81q/mPFrXJAYoAntCSqAHRqH8LwwQs3wnFM88RjnMJQC0aKF48Aw 0YVWISEwmJCRusHY6APy1RxFZlOy+U8ETVhQOVWy3WJH5LiXvnBELuyFR6rUWcIOraNk PKcGioULIxcH6GStmqOaK2icF9JQ07U2dqUKC/kBxbWG9zCYQPEOCHsKZTrS0wm5TyET QIzrclZq8eHatFQdDumrBMnBXvAhF5wPqcwF8gXDsWRWhqk2JPzt/hLEMR7gqli+syr0 rwNrGmuN7v6XSjK6ta2Dd8G/u2cDiKpkLc4P8s0YgUbZ1FW7qRdj+e+A26Mjdz4gQty2 fBXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature:arc-authentication-results; bh=S50hulBfVwX+m7ZM+FyWdvKCXySzFRTfR0k+penGjlI=; b=Yx/AP/hKo0gPOb3U/vJKM9eOuAarWDj/OFk39dXh5pZJJ/gy3hj+hsXhRRNMOKxVYJ 5OrD3IjsG64110TcmKZPWS7kdhkMiiSKbJYbJQ38qk/KXN8oAXN0pxSAkqAA/4XBUJyl WlFNlURuEwgImeKHCk7O/MTvxfnEAHqvhlJNZY14G2brvQ7rr5zmvrzDvWmUWtri8Jkz +TAZNHB+bezhD+cXNqGEESjOVddOqMs/rrQNBB0Pl7IW2PxFTODxe572v7S5dWQbrrVy Mg2DguNaQj3dt4l8/yNZm4aYHAH/zblus6oasX4ru6iLm8kxqKpDomPCmo3gvh1FALNh fgmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=aF7OnFwb; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=c6WPKXuw; 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 v18-v6si8687227plo.285.2018.07.06.14.54.18; Fri, 06 Jul 2018 14:54:32 -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=aF7OnFwb; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=c6WPKXuw; 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 S1753993AbeGFVxi (ORCPT + 99 others); Fri, 6 Jul 2018 17:53:38 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:54304 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753367AbeGFVxf (ORCPT ); Fri, 6 Jul 2018 17:53:35 -0400 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w66LrAI6003668; Fri, 6 Jul 2018 14:53:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=facebook; bh=S50hulBfVwX+m7ZM+FyWdvKCXySzFRTfR0k+penGjlI=; b=aF7OnFwbdC6atKdIzi/x1unRcVhN+a2g7fJAApAiovl10SVop03MMjY5D8u3XyxIpvwz yhvPU6h+sjFy9oK0UKBAtrALAkg/5ILByvuMKfSqJVEuEK0ajFs41jk+pAW/Ahyvf2X/ 4lSiSnVzUxjxtkZ3ulHmiUO/6zRwLbEFEs0= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2k2e648b7b-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 06 Jul 2018 14:53:10 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.32) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 6 Jul 2018 17:53:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S50hulBfVwX+m7ZM+FyWdvKCXySzFRTfR0k+penGjlI=; b=c6WPKXuwC8BnfCV61NUP7B70TxjOdIf51WkWOyLnbrydN2hrzWCgpsEFrZNKZVley3kQ+7XLhcD1Otm6yUYiYnUdZV0Cmaz2ZdieK//xVIA67jASHGcCapKNKqjWwakZws0GS6ZmWgx6/Ch1GJReHWk/c+g7hbWRaPynrylZPBY= Received: from castle.DHCP.thefacebook.com (2620:10d:c090:200::5:71ff) by BY2PR15MB0167.namprd15.prod.outlook.com (2a01:111:e400:58e0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Fri, 6 Jul 2018 21:52:37 +0000 Date: Fri, 6 Jul 2018 14:52:32 -0700 From: Roman Gushchin To: CC: , , , , , Alexei Starovoitov , Daniel Borkmann , Sean Young Subject: Re: [PATCH v2 bpf-next 02/14] bpf: introduce cgroup storage maps Message-ID: <20180706215229.GA27634@castle.DHCP.thefacebook.com> References: <20180705205139.3462-3-guro@fb.com> <201807062214.O8pQxWve%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201807062214.O8pQxWve%fengguang.wu@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [2620:10d:c090:200::5:71ff] X-ClientProxiedBy: MWHPR03CA0035.namprd03.prod.outlook.com (2603:10b6:301:3b::24) To BY2PR15MB0167.namprd15.prod.outlook.com (2a01:111:e400:58e0::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45b4513a-556a-4057-cca8-08d5e38acd26 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:BY2PR15MB0167; X-Microsoft-Exchange-Diagnostics: 1;BY2PR15MB0167;3:DEzrkkfgObNwaw57gmS+v+9fPjvv9T8P1NoV1DQrdvZy7g2+WKvSMmx7nyyyiq/bB8fxH+u4WGflMRB7edWykTmwjyUm6YtCMBgvx+/8t2XeovSP3cCMgoiZaSW91SQPpas/GXPxoYrmrbE28patS9jW4TiK2fZRfWdvtbBzQuPPm6iYO2fdXhOVKagqYMcqJvqEcU8tesiNbjqTh+czjSQ0/hRQxvVUx0/ZRUheXTdaNmbQD1YUSOr02TUOSZzT;25:IhzMRHK3m/IMCSstm/vVFmkXTnrCzo4f4tMGaDWw2zt22n/EPMjAS+UezTMQhqmZs3O9um3kpqcaphYOGGQdpA3QdC60Yy35B2FsMSZ4UCO8CdjRWw6/3xTCXRL4K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T6ysgMOoKMY2DnOyV6J+S/NfALHKDMErqV3NobBN/prBMVSnJc5p15+LnF7++KkNROtQFKk2yc1Fd03cKybb+/FUgEuKMmmQ7mfP7UvbAJK6f2x7wy6cNHhDdTA/ZOoNtcCEn93yCmKe5GzvvmlIBaQanNytDgX+3FeXh7TpAP1KHoyodsR2uM/w83ohiD4BXaNi77LG6j5TdzNcv6JKdgqbMPj7zdd2PtqBAQ4aWszfbS31C/170Y/aC2WIvOHQSq+ABWzfCV4YDnst5OLXugHr/IOKxpelAAhT0G9iylS0zY5EU5Ac7nOrntPRDo8h2oNANIPbt0Fq1mgO9wvqwETH//W6xnnzGcICrjQdUTTksZWMO4N10i2lZm96wkUFuKbS9gZBLmm8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(10436049006162)(166708455590820)(67672495146484)(84791874153150); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(11241501184)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:BY2PR15MB0167;BCL:0;PCL:0;RULEID:;SRVR:BY2PR15MB0167; X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(136003)(39860400002)(346002)(376002)(366004)(199004)(189003)(105586002)(345774005)(446003)(86362001)(575784001)(11346002)(486006)(476003)(2906002)(8936002)(7736002)(305945005)(81156014)(81166006)(2361001)(8676002)(58126008)(316002)(16586007)(68736007)(54906003)(106356001)(33656002)(6666003)(5660300001)(6916009)(52396003)(7696005)(52116002)(6506007)(386003)(229853002)(53546011)(76176011)(4001150100001)(46003)(14444005)(5024004)(186003)(97736004)(16526019)(47776003)(6306002)(50466002)(9686003)(6116002)(55016002)(966005)(25786009)(23726003)(4326008)(6246003)(53936002)(1076002)(2351001)(478600001)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR15MB0167;H:castle.DHCP.thefacebook.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-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR15MB0167;23:J88p0ueS7GW/v1kzXgRpl87VA3/SyR0qbuCyau1jb?= =?us-ascii?Q?tq2Hs2QMEeo0kgjW6TNFChH8cH3Utj95Gj5wMSBFE/NQFDFvD2ac7AGtLEtf?= =?us-ascii?Q?CHdQx5nxqtCTd306DVcj1R/jAFbwPs46BLAS4Wm9moM0tTr00czeQ3H2meO5?= =?us-ascii?Q?Q2REPNehApWAda3y5quVkDe7odNEc2z9m5MW1PvYOjFUu1xLI01TZYp4GIJ7?= =?us-ascii?Q?c7iwjFFB09LqrT8/kjmedbAqxVDxdASLwm5CJ5Lo5WFopaUWsN7SYd7wkRNF?= =?us-ascii?Q?HzWno3C4RIcoB2DflFsPZUu3mK2L86TgpehpeZoR6TSpP8K5kLRLeq5Gt+CL?= =?us-ascii?Q?u+ydifGe2QxAK0HD6wMlWixQO92OzI3oZN4ik/O6xgJ1Ib4xuU+EvGn8GltX?= =?us-ascii?Q?vymWn65ahRHXcCdWmiqrAtQIelV2mJuD5NBcyff3wB9t46MuLcYdTgQoCG3U?= =?us-ascii?Q?y+IGDzq455qb7R7dzg0LZMslxcwfg1Tf83jj8tlHad9DJ5ymD9eKGSdBT1F/?= =?us-ascii?Q?cHLDyvtkavQdiDyEkslr6vrbn6ixPvcFqoRWgLnXTnDyiDJBwGRX0Xnqwqf2?= =?us-ascii?Q?raKp2sbX9u7h7yzj4M00rRw6mws94Vk8ufWPmpSc5SW4OEfol04GM8pCocAc?= =?us-ascii?Q?k7vOUo4xJhI+ID1PHo2J7lDBKpW/yiJwkaH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agnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR15MB0167;7:Zn2pFW5GURLRtVGEoL+cEge/E/EBRvoeLfo7WTUzQcAzy/XyaPr4+q0WIGlhGwzQZpJnkGnz+yQuFJ5YnrXVryor9JygpDGPN5PmKnArSblipS3+x7y0KBLayNNnqvIf9QIRsjJNRGhM0eVdEpmIIPVDRfVOvHWXLack4/IP+4yffm3ZMeIP7CxdnWWiqrUtN9QBOg6fyseUza5YJXBjpCQjNddp5sQQNnbUlheirZ2sWFuhGKyPyB2qv2MP7gJB;20:wG0evV2pv4TZqZwnEN/fZuzrZQG3QAc511QkgAq82N4MzaN9Z4A0PNm1wyUMCB9bDvdBiw7S22YyOfAygXXH54vkOuIcWTdt8/cfaZB5NzFYacUv7DD7e3rw+ylxhy1+vgsnjylxN3O4MLSlXJYUMy7j/NfgwBaUXYk8pVxcP+U= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 21:52:37.0894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45b4513a-556a-4057-cca8-08d5e38acd26 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR15MB0167 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-06_07:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 06, 2018 at 10:42:39PM +0800, kbuild test robot wrote: > Hi Roman, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on bpf-next/master] > > url: https://github.com/0day-ci/linux/commits/Roman-Gushchin/bpf-cgroup-local-storage/20180706-055938 > base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master > config: s390-performance_defconfig (attached as .config) > compiler: s390x-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget https://urldefense.proofpoint.com/v2/url?u=https-3A__raw.githubusercontent.com_intel_lkp-2Dtests_master_sbin_make.cross&d=DwIBAg&c=5VD0RTtNlTh3ycd41b3MUw&r=jJYgtDM7QT-W-Fz_d29HYQ&m=ImwiAAR6DVyf5JEcIc5VLF9xY4lfFxVuk8_4BN6I03g&s=r0S7gFQPOZVZagshsK0pL3eU8_GRpD1ywrvYfXJ4yBQ&e= -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=7.2.0 make.cross ARCH=s390 > > All errors (new ones prefixed by >>): > > In file included from kernel//bpf/local_storage.c:2:0: > include/linux/bpf-cgroup.h: In function 'cgroup_bpf_prog_attach': > >> include/linux/bpf-cgroup.h:237:10: error: 'EINVAL' undeclared (first use in this function) > return -EINVAL; > ^~~~~~ > include/linux/bpf-cgroup.h:237:10: note: each undeclared identifier is reported only once for each function it appears in > include/linux/bpf-cgroup.h: In function 'cgroup_bpf_prog_detach': > include/linux/bpf-cgroup.h:243:10: error: 'EINVAL' undeclared (first use in this function) > return -EINVAL; > ^~~~~~ > include/linux/bpf-cgroup.h: In function 'cgroup_bpf_prog_query': > include/linux/bpf-cgroup.h:249:10: error: 'EINVAL' undeclared (first use in this function) > return -EINVAL; > ^~~~~~ > > vim +/EINVAL +237 include/linux/bpf-cgroup.h > > 30070984 Daniel Mack 2016-11-23 232 > fdb5c453 Sean Young 2018-06-19 233 static inline int cgroup_bpf_prog_attach(const union bpf_attr *attr, > fdb5c453 Sean Young 2018-06-19 234 enum bpf_prog_type ptype, > fdb5c453 Sean Young 2018-06-19 235 struct bpf_prog *prog) > fdb5c453 Sean Young 2018-06-19 236 { > fdb5c453 Sean Young 2018-06-19 @237 return -EINVAL; > fdb5c453 Sean Young 2018-06-19 238 } > fdb5c453 Sean Young 2018-06-19 239 > > :::::: The code at line 237 was first introduced by commit > :::::: fdb5c4531c1e0e50e609df83f736b6f3a02896e2 bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPF > > :::::: TO: Sean Young > :::::: CC: Daniel Borkmann These errors have nothing to do with the cgroup local storage patchset. They do exist in the current bpf-next tree. Here is the fix. Thanks! -- From c0cd59b969e060765514224e31595763213e40f9 Mon Sep 17 00:00:00 2001 From: Roman Gushchin Date: Fri, 6 Jul 2018 14:34:29 -0700 Subject: [PATCH bpf-next] bpf: include errno.h from bpf-cgroup.h Commit fdb5c4531c1e ("bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPF") caused some build issues, detected by 0-DAY kernel test infrastructure. The problem is that cgroup_bpf_prog_attach/detach/query() functions can return -EINVAL error code, which is not defined. Fix this adding errno.h to includes. Fixes: fdb5c4531c1e ("bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPF") Signed-off-by: Roman Gushchin Cc: Sean Young Cc: Daniel Borkmann Cc: Alexei Starovoitov --- include/linux/bpf-cgroup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/bpf-cgroup.h b/include/linux/bpf-cgroup.h index 79795c5fa7c3..d50c2f0a655a 100644 --- a/include/linux/bpf-cgroup.h +++ b/include/linux/bpf-cgroup.h @@ -2,6 +2,7 @@ #ifndef _BPF_CGROUP_H #define _BPF_CGROUP_H +#include #include #include -- 2.14.4