Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1810065rdb; Sun, 4 Feb 2024 02:15:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUMS3XAdocENE/HBttm05yrKDob4sDbW5xGYdLudHj2FGcuJV6r5824FrSbskDQA+Qq8qY X-Received: by 2002:a17:906:511:b0:a37:28e9:bfdc with SMTP id j17-20020a170906051100b00a3728e9bfdcmr4767840eja.27.1707041733592; Sun, 04 Feb 2024 02:15:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707041733; cv=pass; d=google.com; s=arc-20160816; b=GPxoc05QeJmKQlYhMVRe91Fh/PoyPQiqunKd0POAvLhgHiuzEqkcz6jjepenD8elF8 i1COPyB5LhzhlXP7C9rNuUCkoMZ1FTizvnITUTKpvGLI3eCuP+HyzloA9cVN8M3gWuh9 L1+1V35nu13Pvub0FLhNlB/CHeywYuCta2xJXq7INdVK8Ojky3+zBDu2ZQswMkgvSyvx 43yiTeDoY6K2Msqkui2H/RQuWmQaniNnoxBG8EH6aKwfjr+FSZQOAuP5yHEhKfYF8kYm Y/BCrl77GqBYzytBbuttnvcD8r5jkGVGgc0EH+buJ95W1RaBX0IEOY32EGuyR0FaAOmZ qIaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=u7TK7025BTHzj2JVkEqwpASPrWXTmLMM64VTTpvDtzE=; fh=gE7jbBK1Bcvfbhc5IJaMyamSOM+XKXfcQEo5QjW+qGk=; b=YcC2jZ8/VsOojLfrEanH7Q6sC+DzsoRsBA7DPkDr/inGvrvbVMiuk3z6XWyOaxKZZK FCKlE2ldcUk0ceku9aPgyr8mYHPqXfnfg9rdqW4edPMtaDLjLABKX0SoHOSoZJvuZqMx F7dOCs/61EZpACIwff91pv+rkWs3e6mChb/7mIAuEQVOSoWd0yHB5lTDsBWhBk7jjy5v STfrG6WIKw/YXl+dPWK8+yZR+bFzzqZRDLVstBeEI974nyxWogNDVKoswBJqC0ZfARVd 1aW90Yxj/HV3XR1cU+ZgawPd1xnrkuKwYBlyujcwBnsnfZjpKx56sSP2SrwmdLoqw2uR 76ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nsdGf1Ge; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-51575-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51575-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCXC3l7bapZCeLirPxYmmxuUmVS8DSj0NlV3SuRA82MeFn2Da+9sABXOhHqcmsFKtafDSpTtoz48A6kw4ujNuIPZgD89d4FWUdCf9Ams4w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ca24-20020a170906a3d800b00a338fdda76fsi2760481ejb.872.2024.02.04.02.15.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 02:15:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51575-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nsdGf1Ge; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-51575-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51575-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 525871F224FA for ; Sun, 4 Feb 2024 10:15:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C53F51B5BA; Sun, 4 Feb 2024 10:15:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nsdGf1Ge" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FA991B598 for ; Sun, 4 Feb 2024 10:15:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707041726; cv=none; b=mTjbRXLpjC1GrdgnzrmZXrxThi5v2Gnb7RUYaFt0sx8nV5K3+YBjN64+SNXxk4euN0mpfx2WiUF/PFMeYroSwfE1K+NmKoDXsgzEYCx4t8OP92XW9WqdwYzy45JnPt+HK4Eqjvs5mzJAFpbp0Z2B8KF3DTJcD3kJYTbSD6vTDtw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707041726; c=relaxed/simple; bh=J1IJekIv2g4l/4cGH0z6H/to6TdkZ7VEOP1OcZEfTSY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QZEvU3d18muXC8T7i4fzgcpz325+8mXumfK8uS88dGoXrKuBfmJougwApb9GzJzXCysY67FdF5PwzHLnEz+1qilGPCGxoSVrFy3zYd9H/sWIilIMpgfO2gSHj5yERD5Q3MHtzUjYman5YR60GIlHau7WsyI563R1Y4H2t3GDgDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=nsdGf1Ge; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707041724; x=1738577724; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=J1IJekIv2g4l/4cGH0z6H/to6TdkZ7VEOP1OcZEfTSY=; b=nsdGf1GeGOaSyVhqHkold4HbFiJpGj3KD8Qh8hy3f5gpb6xWPtGaxRyO ATz4vriT+3F6tACDwqvdysuI3XroJuqFsWBw5ITgYlm5xTkg8YT6aD2sT 6DtdtIN32bhnticQ+WpZMLOc8U6gb9EDaoeaosBhFl9OEZaTGSLcQ9PgK k88B4wQkYOixL2piMxx0JmFRuH0kKry3BJIONGBmvmxcjcfhwibmGMkdG 1F27k0dITGHnpt+y9EmS7FKYNxoZO6JRxrHlSj/qIIaVSxPnioeQ47+P5 ZuGW6mimYyJJ9ETRR4UAKxhYOYiuoaVYMkP+G/xibP511gndXGhm4fCzz A==; X-IronPort-AV: E=McAfee;i="6600,9927,10973"; a="534205" X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="534205" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2024 02:15:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="759713" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by orviesa006.jf.intel.com with ESMTP; 04 Feb 2024 02:15:20 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rWZWw-0006EQ-0K; Sun, 04 Feb 2024 10:15:18 +0000 Date: Sun, 4 Feb 2024 18:15:11 +0800 From: kernel test robot To: Waiman Long , Tejun Heo , Lai Jiangshan Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Juri Lelli , Cestmir Kalina , Alex Gladkov , Phil Auld , Costa Shulyupin , Waiman Long Subject: Re: [PATCH-wq v2 3/5] workqueue: Thaw frozen pwq in workqueue_apply_unbound_cpumask() Message-ID: <202402041854.YeHAF3wV-lkp@intel.com> References: <20240203154334.791910-4-longman@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240203154334.791910-4-longman@redhat.com> Hi Waiman, kernel test robot noticed the following build warnings: [auto build test WARNING on tj-wq/for-next] [also build test WARNING on next-20240202] [cannot apply to linus/master v6.8-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Waiman-Long/workqueue-Skip-__WQ_DESTROYING-workqueues-when-updating-global-unbound-cpumask/20240203-234626 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-next patch link: https://lore.kernel.org/r/20240203154334.791910-4-longman%40redhat.com patch subject: [PATCH-wq v2 3/5] workqueue: Thaw frozen pwq in workqueue_apply_unbound_cpumask() config: x86_64-randconfig-122-20240204 (https://download.01.org/0day-ci/archive/20240204/202402041854.YeHAF3wV-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240204/202402041854.YeHAF3wV-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402041854.YeHAF3wV-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) kernel/workqueue.c:361:40: sparse: sparse: duplicate [noderef] kernel/workqueue.c:361:40: sparse: sparse: multiple address spaces given: __percpu & __rcu >> kernel/workqueue.c:6373:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel/workqueue.c:6373:25: sparse: struct pool_workqueue * kernel/workqueue.c:6373:25: sparse: struct pool_workqueue [noderef] __rcu * vim +6373 kernel/workqueue.c 6356 6357 /* 6358 * Check the given ordered workqueue to see if its non-default pwq's have 6359 * zero reference count and if so thaw the frozen default pwq. 6360 * 6361 * Return: 6362 * %true if dfl_pwq has been thawed or %false otherwise. 6363 */ 6364 static bool ordered_workqueue_ref_check(struct workqueue_struct *wq) 6365 { 6366 int refs = 0; 6367 struct pool_workqueue *pwq; 6368 6369 if (!READ_ONCE(wq->dfl_pwq->frozen)) 6370 return true; 6371 mutex_lock(&wq->mutex); 6372 for_each_pwq(pwq, wq) { > 6373 if (pwq == wq->dfl_pwq) 6374 continue; 6375 refs += pwq->refcnt; 6376 } 6377 if (!refs) 6378 thaw_pwq(wq->dfl_pwq); 6379 mutex_unlock(&wq->mutex); 6380 return !refs; 6381 } 6382 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki