Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp975115ioo; Sat, 21 May 2022 22:51:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjQs7jbWNG0lcUNRtV7xh//qplzKLf/DYKZKKLhEm/V2QijaGYkpF0+74Zk8JkKmyBlhyY X-Received: by 2002:a17:906:4fce:b0:6f4:f41c:3233 with SMTP id i14-20020a1709064fce00b006f4f41c3233mr13901458ejw.117.1653198701919; Sat, 21 May 2022 22:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653198701; cv=none; d=google.com; s=arc-20160816; b=ZI6lhkzmjJt8f0rrHGDiMqglmisDF9ZESZV3R/Fi17xZekQqAT++oOBIsMbpNlR+GR AcHK/N0MUFO1iB+KTOoxfkhVcZid9WvyNKH4uXRZJ40AbahnQUA4S3INqoPurKCPlQJs MlYT+cm4EGwsqzpzLx/liVXjSnIMsftHoZykgCf+cmy5gDGRA5ffhb7BxXrOKVPfahzu KU1zdNnaZ8W/J4n3bmtgervHGMKjQ5bT/9mFZ5O4MFAARVv+YMnuNNZLdj89YylYxfOs liP08VMSEkp0aEkVPgNxhVDVLC2L8eY1tGOrj0DpKF8/HdhVgqp/DE4vYqrDtbUTKfBs hwlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VvrL61k24O8UIWFURORdwxpeBw+uS50OJ9z5zmynMxE=; b=e/pbWhy31LpYOT0Gfuif9n3HTMV/Yd5EC6xZTw0fmn8Pe2L8mINb2kP6dbuxZZ8C9w of0caI2mNNFW0NTlO710tTjGo3dYnRsjXTSoChFTqbBXUpH2qgHtua+ggIk9RDfPy7YC bz96sOGh84tIum15YjzSDJ3WUs61jfxVvDylGh7m9/3aps6hpBm9T3UC9Ap/PyZ3VcTz 5rSkL9OMv6QLS5FCzMar3tRvt/7t3oW5xJiRCwQ4ZAW22awBj+0CQ0YTe4+7hlL2oHRN idJDnPzA2E6lT4PXMRJipRm4mrp9F639g/ov6lX7UpFmNmjtbwwReIhymDt1v6DbQRti CBPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q7CV8kLg; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s17-20020a1709067b9100b006e4b4049463si4462420ejo.429.2022.05.21.22.51.16; Sat, 21 May 2022 22:51:41 -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=@intel.com header.s=Intel header.b=Q7CV8kLg; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241735AbiEULdf (ORCPT + 99 others); Sat, 21 May 2022 07:33:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355537AbiEULcB (ORCPT ); Sat, 21 May 2022 07:32:01 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3E105E771; Sat, 21 May 2022 04:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653132423; x=1684668423; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FMPnoL06zNFDkI/2hBPZGwhNOH5Z9rbc5IUvZk5e1UU=; b=Q7CV8kLg0eNks8mie0MSO26vIO8mCNw5FSjtfpDTskC1AiEfYg1GoNnn x2WSvZLA9Eqzv7Edht5rh0ICFOjSN/9BFHvrTVGa3rOHKlwEf2XUpYz9/ miRbgzvPommhVGTsYq5NOs+AUhbMa1y1r/PaSJkK066HVWtm/mk8eIL/8 afWpRLi9Ggt5OP0HU3yDv4QtztiXm9WRHpelXoHrKcSmwHBSpC8sRZoNq qZxfv6DvGiUnDTQynepxjnCYo0xXHFcN3OqwJRJmMmvK9He7eCmM87uJ8 2dmz9v+pwYDax4eI2CpYEKnT/yNQf3L9z4Ifm2a/htTjvCcgfNp/WqgVS g==; X-IronPort-AV: E=McAfee;i="6400,9594,10353"; a="253355452" X-IronPort-AV: E=Sophos;i="5.91,242,1647327600"; d="scan'208";a="253355452" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2022 04:26:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,242,1647327600"; d="scan'208";a="743883167" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 21 May 2022 04:26:37 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nsNFk-0006Ef-LY; Sat, 21 May 2022 11:26:36 +0000 Date: Sat, 21 May 2022 19:26:24 +0800 From: kernel test robot To: Yosry Ahmed , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Hao Luo , Tejun Heo , Zefan Li , Johannes Weiner , Shuah Khan , Roman Gushchin , Michal Hocko Cc: kbuild-all@lists.01.org, Stanislav Fomichev , David Rientjes , Greg Thelen , Shakeel Butt , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, cgroups@vger.kernel.org, Yosry Ahmed Subject: Re: [PATCH bpf-next v1 1/5] cgroup: bpf: add a hook for bpf progs to attach to rstat flushing Message-ID: <202205211932.e4nkPC3e-lkp@intel.com> References: <20220520012133.1217211-2-yosryahmed@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220520012133.1217211-2-yosryahmed@google.com> X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi Yosry, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Yosry-Ahmed/bpf-rstat-cgroup-hierarchical-stats/20220520-093041 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220521/202205211932.e4nkPC3e-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/23c4c48fb35b084dc1173c7b9d23d4e6e1a084a3 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Yosry-Ahmed/bpf-rstat-cgroup-hierarchical-stats/20220520-093041 git checkout 23c4c48fb35b084dc1173c7b9d23d4e6e1a084a3 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash kernel/cgroup/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/cgroup/rstat.c:145:22: warning: no previous prototype for 'bpf_rstat_flush' [-Wmissing-prototypes] 145 | __weak noinline void bpf_rstat_flush(struct cgroup *cgrp, | ^~~~~~~~~~~~~~~ vim +/bpf_rstat_flush +145 kernel/cgroup/rstat.c 143 144 /* A hook for bpf stat collectors to attach to and flush their stats */ > 145 __weak noinline void bpf_rstat_flush(struct cgroup *cgrp, 146 struct cgroup *parent, int cpu) 147 { 148 } 149 -- 0-DAY CI Kernel Test Service https://01.org/lkp