From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2786404BE0 for ; Thu, 9 Jul 2026 10:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783592723; cv=none; b=tzRphnF+8++gLYKIcmw1mDcX/8EA4YBsA2PdD9ZKO1ej6StzU3GGg4gFR30MvJytdOMg6ju8UKgMcVF5YFL3reksuk9LaIoBASfruXG5NtLILvQ/kGXiCH4wJSWtaQeD1VeWJW3QNasrS4VuaGiOxHF0eUgoyF5CNR4TJx4TMlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783592723; c=relaxed/simple; bh=ElZFOXpukZe89UFEGY8TVU5DL9Z0OlIJVQbtQy382hg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CB177ZS2qdNk5v0RS6NNbKVxyyICMnxgKkTH7WCQqPVwZPlQqfLUDcX73XOWWr5e9ufhe7O4i+b3uj/7QuMGQJO1AK+muQVnx8AI8Leqx9oTvRwoXJE78b1z0Ueckln63RcCUuET0I2uSy2wzoGevx/eYi4RKocW1SWagpfDO4I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=C1sxC8fr; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="C1sxC8fr" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-47db714766aso397848f8f.0 for ; Thu, 09 Jul 2026 03:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1783592720; x=1784197520; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eA/NdZeeDsXkQz33PZ0LoZ3ob/VGPngkQHk1DwZoe40=; b=C1sxC8frZHZuTDnAF+/8wD8eEdYrB2QYPdi+RqZ+EWL72rMzkVqiC7EQim1ag5TMyw XPDF3jxSG39MPxhpe7LL2JVXUeOKRFSrl6QbJaDdWaA4T+joyiVVAvD3n1t+adBFK1+D t3VdGZ1deqc+wHa0VLtbdnNsg9R2VeXSuyJUHs+qQjPRRw6cLbcJESpBPi+SuDhfS1R+ yPA1dJ2isFAppEgbORFRfxM7KNU9OYOlUlAeQYku2iw6IHC0GoyzAeMvWjlG0c9P64vm Qq/rS7TMd0eIknYM/KqiRI5NL148YdTXN/RVvAFS4Hr8XDKa68Vy7X1lgff8UTXiU9iZ 3JFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783592720; x=1784197520; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=eA/NdZeeDsXkQz33PZ0LoZ3ob/VGPngkQHk1DwZoe40=; b=WUruUm2UwLTJZx+gDcjWYN0RNcesGH/i5VHF26HALjs8c2azPYBfevwi9x3d8eje+6 WYDR8P+M7eOiUu5UwS+PvZ2LfS1oRTx/eL2I6XADyR0CX90pheRxQ4Z/WgWrGhA7X3PE 6JnTQIw/as+vGF+51WGxgq06jUs9540b0DBj6uMtwSwzviialUhUz4me0fLHfhJHKp+u gxuPhAKMdxr1UZ0AMzKPfetZIGfqLWKQr6wF7DIlFwHIzC2M03z8yK9qpSC0nRwQLyqr nZ2gTMxzURopjcosm/WSGle9QckJ3MscVPoCcgRFDixVz8750LFptvhSxY3URxpMNGPh po4w== X-Gm-Message-State: AOJu0YyIea7c2ojJWxWno43XS/mFs78PXvZeUUUrfGRpy0IWqh4oNHy6 o/5JUfS+MAkTTnJNMJi9HnIDD8Hy0j63j35/KOIwn8a0FsQw+TODGcdc3UoVfYweR7N95ufnfKf zzXdoVrY= X-Gm-Gg: AfdE7cmrFxel250UmjSNxB50Ywqv2aHsCVs09Ie1QjsoeotZenCCdGbIy+KjFvOI901 Yv+Xqo6nVMV6ekf7tPKaMei/8vmv2ITpzYl8uG53SS8TyJm1uqgSxPfbUjJw7lsQir7A6+gZjQM aIzkNo5ZwyCDMvXQSe6pweURXGJU+I+T7dp3N0YtrUhgrWEwivPN/JDAUztwBDLVWQ0mHI0AxYC W4tPxL2Hm9JapL+iasMj9w3q6yAR53j1B3p/x9AWmVEfMs9waM0o9LDiIS6gCOTR/PvDKVP1o7z Cajp6ieFDsmCuKMwVkHRwU8IZJ9RGRb4wIHg+mNFtjrupT9aX+NCnCmAtkCnzCsAodfObtI4T6r ocbDRP5WhA43CHurSAEFjeb0BAcMMGBxVAYyoK3ybQoK32jbeGYkFIdIKbMJwlJ4IY1un/Rkk3w bVk/+sSXx+5g32V8px1Rk8d9EU0RQbhhd4uafU X-Received: by 2002:a05:6000:26c9:b0:47a:b6a0:b024 with SMTP id ffacd0b85a97d-47df754304dmr2424798f8f.4.1783592720331; Thu, 09 Jul 2026 03:25:20 -0700 (PDT) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47a9de1d91bsm55097033f8f.4.2026.07.09.03.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2026 03:25:20 -0700 (PDT) From: Marco Crivellari To: linux-kernel@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Breno Leitao Subject: [PATCH RFC 2/2] docs: workqueue: Update WQ_PERCPU documentation Date: Thu, 9 Jul 2026 12:25:10 +0200 Message-ID: <20260709102510.180513-3-marco.crivellari@suse.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260709102510.180513-1-marco.crivellari@suse.com> References: <20260709102510.180513-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-Transfer-Encoding: 8bit Update WQ_PERCPU documentation putting toghether the unbound description, but removing the WQ_UNBOUND title, because this will now be the default workqueue behavior. Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari --- Documentation/core-api/workqueue.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/core-api/workqueue.rst b/Documentation/core-api/workqueue.rst index 411e1b28b8de..04135a104c25 100644 --- a/Documentation/core-api/workqueue.rst +++ b/Documentation/core-api/workqueue.rst @@ -187,9 +187,8 @@ resources, scheduled and executed. Work items queued to a per-cpu wq are bound to a specific CPU. This flag is the right choice when cpu locality is important. - This flag is the complement of ``WQ_UNBOUND``. + Workqueue allocated without ``WQ_PERCPU`` are unbound by default. -``WQ_UNBOUND`` Work items queued to an unbound wq are served by the special worker-pools which host workers which are not bound to any specific CPU. This makes the wq behave as a simple execution -- 2.54.0