From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D02B92F872 for ; Sat, 24 Jan 2026 22:17:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769293073; cv=none; b=OZrmfaq0RnbBVw6AyadyAfF6Yafc9dUqHDTfFssTT6WLU5E0oZvSDUbDr9tRsA2fMVydz4Cs+ylFQlmx1JnVh5cuxWCj8JEE4zTQniRM5e8FoZrvx8H6JGTSAZNrVULtzacyTUvuXmZgEc3YSDiSGC2vhhHbUz/GRQkjx92iIoc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769293073; c=relaxed/simple; bh=ddcv/h4099PQRatz5KZmaX5q3uWzSZyv6y+MwAPlYPw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jWfJN5Tw9ynInSHZukZsGx2feqvlhfdhJWVwRlGl21Ak8mD9Vin07iXyYoYXEGLag1FikfaHhcG3uGsYTcHS8qiTdxZjRAkhHmT4te3y1rp9OizRUUbMt4NEUKh9+WI4BqY1QkA4IBLrPQMLwGhYI8B2encxqGIfZDN4ZqhBD4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=wCsUAZuA; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hNFRwGYJ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wCsUAZuA"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hNFRwGYJ" Date: Sat, 24 Jan 2026 23:17:47 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1769293069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I5BrN/7BUW8HYyqUxaVKBP+ql/ipmbftUqpFAXrG5fU=; b=wCsUAZuAkUzksbUroGYR4pKJoLDbc7CafBLl2x0sFcZRjjdL8mc6djf7a+GOZdcKyGZz2d f0rjHOLQFNVE4fI2XXst3flXV3KBpRRWHmkMozYFp2hUh2GknS9giAstIQ+yrpxfRN8l0Z G8Nru3xotjehP6Q28Bz96/jbmE4SCUdGvANCYbC4MT+lE8GHCVAf9JdGNLYytGyeuQoW5J 4nmW4MujJoi4ZIN4DcBiuE5WWuXbDvio9xVRyg/1CygOQArxhMXxW908By5wmHu2sv+urH Ql/PHBuD5eC0IqoKaLJx2flcGDvVrKW7MibtypFkE9xZWvxNoEby5+Z6pul7Kw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1769293069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I5BrN/7BUW8HYyqUxaVKBP+ql/ipmbftUqpFAXrG5fU=; b=hNFRwGYJvVNzIYF1UzCNK7Ks60AdkV+0ed6aApGw+VK05bt1QLmOQPkAXS3I8qlYeKwka7 dW2gfRq60pYXB9Aw== From: Sebastian Andrzej Siewior To: Marco Crivellari Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Michal Hocko , Andrew Morton Subject: Re: [PATCH v2 1/3] mm: Replace use of system_unbound_wq with system_dfl_wq Message-ID: <20260124221747.F35KInXQ@linutronix.de> References: <20260113114630.152942-1-marco.crivellari@suse.com> <20260113114630.152942-2-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=utf-8 Content-Disposition: inline In-Reply-To: <20260113114630.152942-2-marco.crivellari@suse.com> On 2026-01-13 12:46:28 [+0100], Marco Crivellari wrote: > This patch continues the effort to refactor workqueue APIs, which has begun > with the changes introducing new workqueues and a new alloc_workqueue flag: > > commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq") > commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag") > > The point of the refactoring is to eventually alter the default behavior of > workqueues to become unbound by default so that their workload placement is > optimized by the scheduler. > > Before that to happen, workqueue users must be converted to the better named > new workqueues with no intended behaviour changes: > > system_wq -> system_percpu_wq > system_unbound_wq -> system_dfl_wq > > This way the old obsolete workqueues (system_wq, system_unbound_wq) can be > removed in the future. > > Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ > Suggested-by: Tejun Heo > Signed-off-by: Marco Crivellari Reviewed-by: Sebastian Andrzej Siewior Sebastian