From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=61.135.153.165 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795756063; b=i9wb/YNS7Y4ocJINK2z+7iURX3wQnBEoUwouFqK+BuSU/NaT7DD3l9M9FdigkPFr00hG cPY90tX7rhpEbwgIQ4YMd0FFAKLiWkMHH52ZN6K9fAl2Vy93I0Cb3mmMomx4JTwTGjBRe u0i/GkJuGuVtTK2K5N7NElpdJgqpaF7QpulORhef6GphTCxgkvot2LcBr3OWzfCLxxNns hFnfpONKqqo74dcRHu5dYwScgNIhn5eBBy6oeiSUKh7DhT67CpMaDloqe1GE7pWjHx9VS sRWudOh7g3LaoiLBQKGLC3p0dhRoRHum5T3hb4rTA/JD7E1qRLZnPwFG8IwDEsXJ/zQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795756063; h=DMARC-Filter:DKIM-Signature:X-SMAIL-HELO:Received:X-Sender:X-Auth-ID: X-SMAIL-MID:X-SMAIL-UIID:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=Xw+XGNFee/xE63h7ryB+t3I6yf8VDpZV6MMfOaNrCO4=; b=x2C/kow3CmO31npVBTC8AtBoa5qe0FyhuV+UCjIMLHHKbKTnEU5mXGzyZmedXIXnl4v+ ieR2LQdcWdybAMF+Y6SjRRy3+1DIft0QuXINIeBIyru5Ett2zJL6NbX2cAEDUP3nEwZej p77gCbkkHs1iBNSu6nAEhxnxDSlNtHDYzTrT9LOmQzE/v3Lg358lPjUDrlxk3rL7x+qOh Wqp9bfEDBrdVMnXpZL3BFSmy7pIrXEYHZDM5h5a0yxAzPEIeLXGfeQ613yqO9ML11nVHB gFbvdQWfTxVFyegoY3ipaLvES5o5I65zHpqtyD/ozSpPFSZ5ohxQlUi/wGmo6KtOoPQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass header.d=sina.com header.i=@sina.com header.a=rsa-sha256 header.s=201208 header.b=x4Gy3jvO; arc=none smtp.remote-ip=61.135.153.165 Received: from smtp153-165.sina.com.cn (smtp153-165.sina.com.cn [61.135.153.165]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F4081606A31C for ; Fri, 27 Nov 2026 05:07:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F4081606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=sina.com header.i=@sina.com header.a=rsa-sha256 header.s=201208 header.b=x4Gy3jvO DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1795756059; bh=Xw+XGNFee/xE63h7ryB+t3I6yf8VDpZV6MMfOaNrCO4=; h=From:Subject:Date:Message-ID; b=x4Gy3jvOnuX6dHLkTK7Gu3rg4/fOGU2Yx4+WFYyi11/vNaP0SMGNaYGkk/nsA9KzI I7snEn/LYJ0s0eEkbZccq/xcWnvuDwWDP8E75eBjejkwDUp8QTzxy9LYdGjguA0ysG IBkBw8Dt7Jf5c3fHRTiN1ZzcyReGi7fUOqQk0QA4= X-SMAIL-HELO: lxu-pcd Received: from unknown (HELO lxu-pcd)([111.198.225.163]) by sina.com (10.54.253.32) with ESMTP id 6B09100E00007203; Fri, 27 Nov 2026 13:07:29 +0800 (CST) X-Sender: eadavis@sina.com X-Auth-ID: eadavis@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=eadavis@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=eadavis@sina.com X-SMAIL-MID: 4579734456887 X-SMAIL-UIID: A64DE0C889A249AF80163AD59173471E-20261127-130729-1 From: Edward Adam Davis To: tj@kernel.org Cc: eadavis@sina.com, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org, syzbot+97fde463a8ffb9e839d2@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Subject: Re: [PATCH] workqueue: Avoid noise generated by real-time tasks Date: Fri, 27 Nov 2026 13:07:26 +0800 Message-ID: <20261127050726.55783-1-eadavis@sina.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Edward Aadm Davis On Thu, 26 Nov 2026 00:57:38 -1000, Tejun Heo wrote: > > A user creates a SCHED_FIFO real-time thread and pins it to CPU0, and arm > > watchdog timer on CPU1 with 3s threshold. The real-time thread runs for an > > extended period without voluntarily yielding the CPU, preventing standard > > kworker threads on CPU0 from gaining access to the processor. > > > > As a result, certain kernel works cannot be executed in a timely manner, > > which may even trigger a watchdog report: > > > > BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 5s! > > Showing busy workqueues and worker pools: > > workqueue mm_percpu_wq: flags=0x108 > > pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 > > pending: vmstat_update > > > > To address this, a check for CPU-bound tasks has been added to the work > > pool; this helps prevent false-positive reports caused by prolonged CPU > > occupancy by real-time tasks. > > Workqueue did lock up tho? This is one of the conditions that the mechanism > is intended to warn about. For userspace realtime tasks, the mechanism same? BR, Edward