Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp859169imm; Mon, 9 Jul 2018 11:58:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfaq108FGPcR8AYIuv4QPh3KDGhe6cuCn2fkLAFBFJaefmfDXRznYICvu6wVfy9gEeBQLUd X-Received: by 2002:a63:6949:: with SMTP id e70-v6mr20440582pgc.119.1531162731121; Mon, 09 Jul 2018 11:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531162731; cv=none; d=google.com; s=arc-20160816; b=aAVcMlYia0lnTdJPNPlRHaIBfP3BBVRYgwIqKgQyPaMy56m0vv2R4N2e0kJPWJpObA gxhhXTCo93LdTYIpyisp908MVeDB5NmhpVhzQst04UCOYxKlm8xu/ImEf5hvfgXEhu4b PwY7k0LUv66AF3v7KsAEOxCYxUjZTAIheznMTKkFPFbxnRqngdaVkQaY/IdH/0n3+z5n KXnyqNBPPZK6EJojJq1SlftLem16ltHyyLL+UQ1DThs/ZdsTgN2vthJbWSCw8LWnxymY uTME6CVZFXg7A0lWtHLLRvqRJTmZRXzGAgWIJ1pKKv5NBXtzFdBdJHSO1VD1/23DyPv7 vBnw== 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=Ldn/OwBNTcuETvgA6fyxYFbwzhWb+H1uc08mmBuC+gs=; b=Z9bH+zilC5+V7TBzdNyZ0OQW8T7gozQRi6via5BYQFyIJxZuQOEYfhVg8cEVI3M84R 8VIXJe+vCz3cws2/9lSx6NqujNsx2ei139ZmVuG1e8LRcRL2Nr1vUSTQ4RxKDF6j386S lXM5by3xleGKSWIfI5fouS2RctMmOAIYbuHZwFi5IwHN4h2JPbacwUZdGgy5kWsyQcBB Pk94pAwjz0CVrOLoAOx5397cBuSZeItQ+mUybQDGlR/hb3Q7oW0GM6cStZFTJuBQVNLx LeowloD0mWGd5PaJpYZCOGSnZ1xg33cWjCukHH0RIHPOSiVbhpe+b8cX4iPjEl1L8Ts1 NUYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b="BkW/gBWS"; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=TfwYcN9U; 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 u8-v6si14866343plh.492.2018.07.09.11.58.36; Mon, 09 Jul 2018 11:58:51 -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="BkW/gBWS"; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=TfwYcN9U; 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 S933399AbeGISyO (ORCPT + 99 others); Mon, 9 Jul 2018 14:54:14 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:38778 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932607AbeGISyL (ORCPT ); Mon, 9 Jul 2018 14:54:11 -0400 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w69Iio9H013421; Mon, 9 Jul 2018 11:53:44 -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=Ldn/OwBNTcuETvgA6fyxYFbwzhWb+H1uc08mmBuC+gs=; b=BkW/gBWSHemCWhLZWXXR7ByV2E/UT+esz2lgipIQqosl8pv1kIHr4jnbdrPj1Qga12An RQZrf5D+ffWhe8yb/F67LWT/YYNnaFW1cDXXTkXqinTE+UNxrg97YzuNNs6Tv4qIs4Xw GFI1amKd1a9xIphJ+Q8E613wYVi1ji1LMS4= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2k4at9gjhj-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 09 Jul 2018 11:53:44 -0700 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.14) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 9 Jul 2018 11:53:42 -0700 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=Ldn/OwBNTcuETvgA6fyxYFbwzhWb+H1uc08mmBuC+gs=; b=TfwYcN9UX0zUGICRbodPyZHnMmB7OAdThJPjd7q7yBTUeeuZLiR46zkiek86iQ2wEQW4GornBoo7zsn7mVYph4muRJbljzkP55AI46E5UW6hjxiRb5fZl6eYo2c3MJfOih1ovQTF22cYYRtuWLtr+YFA4c47pwCqujMsn3dpMoM= Received: from castle.DHCP.thefacebook.com (2620:10d:c090:200::6:853b) by BY2PR15MB0165.namprd15.prod.outlook.com (2a01:111:e400:58b7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.18; Mon, 9 Jul 2018 18:53:38 +0000 Date: Mon, 9 Jul 2018 11:53:33 -0700 From: Roman Gushchin To: Daniel Borkmann CC: Alexei Starovoitov , , , , , , Alexei Starovoitov , Sean Young Subject: Re: [PATCH v2 bpf-next 02/14] bpf: introduce cgroup storage maps Message-ID: <20180709185330.GA11938@castle.DHCP.thefacebook.com> References: <20180705205139.3462-3-guro@fb.com> <201807062214.O8pQxWve%fengguang.wu@intel.com> <20180706215229.GA27634@castle.DHCP.thefacebook.com> <20180707223532.k5i4h5xp4lj2pf77@ast-mbp.dhcp.thefacebook.com> <54d9f3b6-a449-b5ee-a55b-c2cd983c11d0@iogearbox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <54d9f3b6-a449-b5ee-a55b-c2cd983c11d0@iogearbox.net> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [2620:10d:c090:200::6:853b] X-ClientProxiedBy: MWHPR08CA0060.namprd08.prod.outlook.com (2603:10b6:300:c0::34) To BY2PR15MB0165.namprd15.prod.outlook.com (2a01:111:e400:58b7::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ed6f683c-d2de-4cc3-55f6-08d5e5cd4873 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600053)(711020)(2017052603328)(7153060)(7193020);SRVR:BY2PR15MB0165; X-Microsoft-Exchange-Diagnostics: 1;BY2PR15MB0165;3:50P/qwSZOGscWlnYYpoZckxr8gvHaKTsHzyXgNEOUVg7EFYLr690uICfkjZaJxYka0Yx+jghlvpPNL+cwZN4DfeY17Gh3EKYwEj/y1LBRIEmfJ24tKPqwgZaxVsYNhABn5gTfiE4+saIp7XcX0LbmGjGNzTcqf3bHIvF6lz1Wr58Htz2M6erAhFo0EdhvnJhUQImfun5+V9mbDDvzi3o/ekQvYma8Jku+NACFmmrtnGmizOwfjX1qr/0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ZGqRYYAJ8w9g1iLANLA6s9zKUfBf0PxyxKi9zzVLGYEAMABdq6UE8ztjxPCmK3aigSIvyCdy1CnjNIhwiiNq+ltA3AOM;4:5N5m9HM0lU1awAFqMRRXbPm+sLdDIMKZM6iF7Jj7B6MjLCIEtvkiWddfVQIHE0HMJ1Tz4rIxZzy/YShnmeAXR7/e7gos5ksIPm1sNfJEuZFzSvpH4u/r0A/aBCQBFD5VhlrptVYO79v+uLXhBZoEcnAcnOh2l7y4AUcLJyCKWStM2vHHKOY8XVa5Gq4sVFTCdRaoFonL4dG3ULJoFgEGszvSNkEUE4t03TXmFGnuLyltyLZ9YE2a7zXsP+cFR00h9fLjwYfxrDFQujW7JTWZ1dxRP/tqCbiwpBdp0xMgARoWQvrD1x5eTIds4GJ7GHG0cHcQp9lGC9/DVPC/qswZ6px7MDXX3aA+wdaeuiuXRwkQFPiTn6Imx6sDvwlYHr97k+qsIL9CkN5FWGdUMDDJwHGWXDP8GfZm9U9HFpbo7t4= 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)(8121501046)(5005006)(3231311)(11241501184)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:BY2PR15MB0165;BCL:0;PCL:0;RULEID:;SRVR:BY2PR15MB0165; X-Forefront-PRVS: 07283408BE X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(376002)(136003)(39860400002)(366004)(346002)(199004)(189003)(39060400002)(53546011)(5660300001)(6666003)(9686003)(6916009)(229853002)(575784001)(52396003)(386003)(478600001)(6506007)(76176011)(52116002)(55016002)(7696005)(6306002)(86362001)(6246003)(966005)(486006)(14444005)(5024004)(4326008)(47776003)(25786009)(53936002)(105586002)(345774005)(93886005)(50466002)(316002)(106356001)(54906003)(7736002)(97736004)(1076002)(23726003)(6116002)(81156014)(81166006)(186003)(46003)(16526019)(8676002)(2906002)(11346002)(4001150100001)(33656002)(58126008)(16586007)(8936002)(446003)(68736007)(305945005)(476003)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR15MB0165;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;BY2PR15MB0165;23:+tV6dKb5dRgTbQ7lep7kz0j2G0YEzuVRLftnZiPMP?= =?us-ascii?Q?Us1ctIPam8YgLMnWW1HIOR8cyUWEFmth9QUtUBIDjtja8078s+bBEiqWIDVJ?= =?us-ascii?Q?4NdivbO1ZwiEtnZX1/nZcC/jkCNg3uUZd6Ihn2AKMoRAu5yMtaBftn5F8JfC?= =?us-ascii?Q?ZTcRiKDAJmkzkXCFeMK7x75/hF4at54jWytzSYcVoe0uAkM0FRWob/izdB3T?= =?us-ascii?Q?QUXxnorKeDdoMOQDEvhcT3XMBZPpHSLXkZtFJFjaLjmWgK25cLstFBc0zeMt?= =?us-ascii?Q?NKceBoPyzF3UH+NBTDx9QehVpIbb1qWPN2NwbHr9jHKQiuIrjw7gVYGMNU92?= =?us-ascii?Q?brsKRh1NYh29mS2GjjHJTH+tLsyCb7GCUlVQ9s0x5CJB5BEC9lozaQI6LnSP?= =?us-ascii?Q?1xQ66WdKJQJ/IGdXoeSpEkPC8TeZCH3rseF1os/FNtjwjUCg6KGeZkqjBtlY?= =?us-ascii?Q?Gf0crpjm3v720la3WwJJi8LXxTmE3z5k3osNRgwFSyAOBuCzMt7tiECsMbUD?= =?us-ascii?Q?NmI0vnJF3FYvZHkdXW19RUDzllPQfoniBxo49rV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7Gd+LHqw55L7aHdajlTbfY4e6MPVdTIdw/ySFQ0otQKA=;24:TpOamhUzJKeVVfMDYLOTxNPnGgbqiX3S08T/D0aMEgYICS0aDjkcXSTY0sg9UO7dAVG9uyqaERA3VlNSlVHBT+pk2ZVO5Bbkge3zYc0TONA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR15MB0165;7:TtMixgCr5q55xQZO5asV3ZqtGQKbykK/CJE4EiRoFivLmBgZzrOsYbx6JrzqY9T4ebZCCl9DEioMi91ZlA2PTudtqz1w51v9CQCs0e3VjlHSCnBhF2i+DOI83E6FZz+m5Y6r1WPuWAaLM+kOgyTtqR4EIFZzhepeulkljQJu6IXoDWqJkRZpsnXKKqwBd1mlQCpEFZfu255FrnwVhdJhyvHWR7AMWFRz+B2GATWtKqfvy5z+mVD+NBKou6Vrv0YV;20:GeTOaZ8nXaXq6xem/Q5CHgsdBVmrMjL4nEsWQbmLyjO6nfP00mGq/I+X9YyY/EvJgpnFflFxnocZLlRsCtI/6Rxh4BF5Uhe5wyjIRm4nnt1JVYxV/a7lQr0c9YoltdxasVt6K5AeHJOgu3ULzJ2gok4jQJ036lnCor0NfiZnqgs= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2018 18:53:38.0870 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ed6f683c-d2de-4cc3-55f6-08d5e5cd4873 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR15MB0165 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-09_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 Mon, Jul 09, 2018 at 10:37:45AM +0200, Daniel Borkmann wrote: > On 07/08/2018 12:35 AM, Alexei Starovoitov wrote: > > On Fri, Jul 06, 2018 at 02:52:32PM -0700, Roman Gushchin wrote: > >> 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 > > > > good catch, but please resend it as a proper patch, > > since patchwork didn't pick it up. > > Also the subj should say 'bpf' instead of 'bpf-next', right? > > Yes, this needs to go to bpf tree, since the affected commit went > there as well. > > I just applied the above fix into bpf tree, thanks. Thanks, Daniel!