From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (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 8536F14B08A for ; Fri, 15 May 2026 12:17:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.195.75.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778847432; cv=none; b=mlX/G3DTyKZsCu+PUY8Z46/3XH7uP/PqLol1q3Rq0+UKuLyCmjTDNgsFTEaXzOsl0gtX4r4Swby2GJyXBC33+f5Iia3CnUqjgAmY9lnckIwM3Rx7jgKuS1Bwy6jhrWyyxpbCH0kEYVYR4utgGZPbHqrnZtIPzUrTclG/zDJwNcY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778847432; c=relaxed/simple; bh=4XVkiRwOMi4HJ8AMTXF5a5TfTmVTutzwi9dJ+N9Yw0I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M/qAunAY2qOQ0noiqzswGLgjZsAKnALL4u/QLbsyJ1H1wlGhxtMgwyx/rrUheVAYfvFaSikJXGJv8SP4z9BU6vQkF++190sty4pe9BCbN9dTq/OiIJdlbZhDpl0G1Y2KGH5M9+VEeTZlUvvb9AUriH8U2biqGHNCMS+ueCU3HSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=hEmHLEXA; arc=none smtp.client-ip=82.195.75.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=debian.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="hEmHLEXA" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rzwCFg4J8pZ1qyI3oWgc64wIOAw3i2xCN0mVFi2AQog=; b=hEmHLEXAdWmBUrMf0j4ZwKv8YU IkDsLlLW/ap4klWxh/kTNmtV9SBhNsUHJX/3LgyYpIi7+p0CnkGnmG4f0GZT/6SJxm4m91WTs4LTm bq98Eks70r4DVf7PDIacnu4Nwtq86UN86oJPRG8D1gVGOfOFQFzH5l31h5jj94aIEsSyQGsJeMs1g n+GmF+HtLucHoLCbV5J6HilJuymThb5/e4zpEBtJUqvZXPwch+tvx6tLWexCYqkiiFJ6fBVVDCq9i HuYBlOaElKBkZu4SwU/WfHcMadO5yMH3p36V3WtvNegs0AopCl7ZuXZLRmoC8gsjllOKKeos98Y1+ HHIR4igw==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wNrTY-004isw-0F; Fri, 15 May 2026 12:17:08 +0000 Date: Fri, 15 May 2026 05:17:04 -0700 From: Breno Leitao To: Marco Crivellari Cc: linux-kernel@vger.kernel.org, Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Michal Hocko Subject: Re: [RFC PATCH 0/2] workqueue: Add wornings and check WQ flags usage Message-ID: References: <20260514092354.125149-1-marco.crivellari@suse.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: <20260514092354.125149-1-marco.crivellari@suse.com> X-Debian-User: leitao On Thu, May 14, 2026 at 11:23:52AM +0200, Marco Crivellari wrote: > Hi, > > Currently system_wq and system_unbound_wq can still be used and no message > is printed. To avoid further use of them, add a warning and route the > workqueue on system_percpu_wq or system_dfl_wq. > > Similar scenario for WQ_PERCPU and WQ_UNBOUND. Currently there are still > users that use alloc_workqueue(,0,). To avoid such situations, a couple > of checks have been added: > > - if neither of the flag is present, set WQ_PERCPU > - if both are present, remove WQ_PERCPU > > Along with these, a warning will be printed. How many users will seee this warning once this patch lands?