From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 DC8072DA765 for ; Wed, 1 Jul 2026 18:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782928968; cv=none; b=cR3yeH/8rtQvXqnFq6fbE/eGWIUMYnvU5sl2Oz7p3DvNFCiIvsudGP6Y99EqXr6T5mxd6ljMjDs7N6gpPQvcXKgIwIgpP4Pj8EpGyWTZI0JzNraF5Q0ZKrOVRS0duZBr4YVZCViR8Q7LTlYO8uZ7pHPQYQlmhKFYDAwhV7ZZ2Qw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782928968; c=relaxed/simple; bh=sFCYiLWixmzPI9r18aqUbu0A856vm1qBubzO6nnWBTM=; h=Message-ID:From:To:Cc:Subject:In-Reply-To:References:Date; b=kbXZDYhfv5VLT4BcmRN9f4F7GtkIJ5+F4GRYFWpG97lD/Qzn9z/w64KNc+hrUSPSJXBQvVpVuPDqylmsUuSARqN87fBtqolRpx0WM5rax/azU18S0CzDTyzJAd7dC8qyoqqB/vrxFVL++o9CUd6jXEb988M1unu1E+jDovuKWFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AyQYRb4U; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AyQYRb4U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 868081F000E9; Wed, 1 Jul 2026 18:02:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782928967; bh=SB0ffUaSXPVL95ZQ2B0tx1tmD4Q23BV7gMkx36NyYKI=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=AyQYRb4UQ2NQsoDELrkHUtSwH3+5+QJOPCUspEtep1cVVsugeZ6RlAk/zW5BHyNh9 WuSMMlBQJ5mAklFy24zxXdDz8nVJwsb8Ox0EbDKHZu9EqneNkBTmcMxfPU0kMuCPEo W11fjKnJanzmfnTQ+9Sb8hYGmeA6t7lk6NGK6WAW/KhkZKaI2es1ee6Ui3w29nEfND Ni19Cy5arG47Au1Ch8bdPrxg9eWD0+e2N+9jk+5rkQPgzGgamOhACftpGGr1R6gIou 5KS6I6PSOvocwjRlOM5TmEeBbV/N0/fGP5Wi9MFodLxJ5tOEWszkCQ0DUDPFNlsqug F8kjZGv9wLzRQ== Message-ID: From: Tejun Heo To: Breno Leitao , Lai Jiangshan Cc: linux-kernel@vger.kernel.org, david.dai@linux.dev, kernel-team@meta.com, Petr Mladek Subject: Re: [PATCH v2] workqueue: dump the last woken worker for stalled pools In-Reply-To: <20260701-rest_petr-v2-1-9431de53836e@debian.org> References: <20260701-rest_petr-v2-1-9431de53836e@debian.org> Date: Wed, 01 Jul 2026 08:01:03 -1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: On Wed, Jul 01, 2026 at 04:05:00AM -0700, Breno Leitao wrote: > To identify the task most likely responsible for a stall, add > last_woken_worker (L: pool->lock) to worker_pool and record it in > kick_pool() just before wake_up_process(). This captures the idle > worker that was kicked to take over when the last running worker went to > sleep; if the pool is now stuck with no running worker, that task is the > prime suspect and its backtrace is dumped by show_pool_no_running_worker(). ... Applied to wq/for-7.3. Thanks. -- tejun