From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AA02237F8D5 for ; Fri, 13 Mar 2026 20:28:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773433727; cv=none; b=sEwIxJdjvblE6DaYw9AGlMDrGeJ6qvFufwESgqcqesxncFWNh+q22AFusorO2ZaG9PYg5RNYF8dhUI/7FoQ6MzgnuGWkaVlXcOw4t6SU2o9BhNB9/iU3a606UX2SE8ARfUSuFAM2fSg7XL6IU3BWZwpKcBIvuiRaPdOcWZv6xAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773433727; c=relaxed/simple; bh=FWRY1qD+D8vkY4EDww8qkRxeUnrzJe1HtTxWB3jyAhw=; h=Date:Message-ID:From:To:Cc:Subject; b=OJ3eC95BoWpdNtWxlXXIbFEeXXYPMI6b54Ua96JqqgsEkYWlnZflKJwBO204k4ulD/RdzS196kfSVtToPtsqgTZibhX6/AeTQbDUFiWK4y/+DUEZwfWvhoiIFsZd2abZQ65Dl1mpOfvC056zWll4AiN3bWHCI0bu6CahG0TRITU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FS0gy1iz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FS0gy1iz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12B06C19421; Fri, 13 Mar 2026 20:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773433727; bh=FWRY1qD+D8vkY4EDww8qkRxeUnrzJe1HtTxWB3jyAhw=; h=Date:From:To:Cc:Subject:From; b=FS0gy1izz5nKrSx3gxe+nmMOUOHMcUQFGWczT846L4QS3xyBTvBdaPPx9Wb51WZJi JysGINMgXcTgAwPKN6vXrdniYcadoVSlzlqaTZNsTHS7dyrd46/p8MEBrlvmfBF84i fzKeOlDfS8Fh85cfDCPTMaPPbc9/h1Fxs++XmykCPhcIYf8IhnjXZmTyCnfkAZScK9 7sZLgLmeroa6axjaXwG7zHRuXr0R4DYLqYkSC9gB2PVzgzNVcnnlE2BjES4suziQmg pfK4kXIeCslxHFM8dF5h+NraKpeJrUuXI41DvG8a1Y7R4kzVLykPjbKsQ48lW2rSBs vgle8v6qe56YA== Date: Fri, 13 Mar 2026 10:28:46 -1000 Message-ID: From: Tejun Heo To: Linus Torvalds Cc: Lai Jiangshan , linux-kernel@vger.kernel.org Subject: [GIT PULL] workqueue: Fixes for v7.0-rc3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Hello, The following changes since commit c107785c7e8dbabd1c18301a1c362544b5786282: Merge tag 'modules-7.0-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux (2026-03-04 15:42:24 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git tags/wq-for-7.0-rc3-fixes for you to fetch changes up to 98c790b100764102d877e9339471b8c4c9233f2c: workqueue: Rename show_cpu_pool{s,}_hog{s,}() to reflect broadened scope (2026-03-06 06:38:16 -1000) ---------------------------------------------------------------- workqueue: Fixes for v7.0-rc3 - Improve workqueue stall diagnostics: dump all busy workers (not just running ones), show wall-clock duration of in-flight work items, and add a sample module for reproducing stalls. - Fix POOL_BH vs WQ_BH flag namespace mismatch in pr_cont_worker_id(). - Rename pool->watchdog_ts to pool->last_progress_ts and related functions for clarity. ---------------------------------------------------------------- Breno Leitao (6): workqueue: Use POOL_BH instead of WQ_BH when checking pool flags workqueue: Rename pool->watchdog_ts to pool->last_progress_ts workqueue: Show in-flight work item duration in stall diagnostics workqueue: Show all busy workers in stall diagnostics workqueue: Add stall detector sample module workqueue: Rename show_cpu_pool{s,}_hog{s,}() to reflect broadened scope kernel/workqueue.c | 55 ++++++++-------- kernel/workqueue_internal.h | 1 + samples/workqueue/stall_detector/Makefile | 1 + samples/workqueue/stall_detector/wq_stall.c | 98 +++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+), 27 deletions(-) create mode 100644 samples/workqueue/stall_detector/Makefile create mode 100644 samples/workqueue/stall_detector/wq_stall.c Thanks. -- tejun