Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp806702rdb; Tue, 23 Jan 2024 16:14:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlKmeQofYwNcmC9xtMmAb2gV0ZAAaOXZwl3U6teE2qQNEgAS0VH2w8frjmzwNTf/u91ljZ X-Received: by 2002:a05:6358:d3a7:b0:176:53d4:d1a4 with SMTP id mp39-20020a056358d3a700b0017653d4d1a4mr4193200rwb.3.1706055275311; Tue, 23 Jan 2024 16:14:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706055275; cv=pass; d=google.com; s=arc-20160816; b=H9H1lqXTWsobY/BkLak/Xr5jwY3tzNyesCRLG2v8yC8MTzTsOgG00O2lyz8ZJVsd5c SuC2yzS+IjBD2n1KJwG2i1kTubzDcYZVuB2IBHVSjReVosgHRCo82rk3Ny8QTrMO4D2l MZv/3nZ2SbW3KcTjUK7eQhNb+DGR+jyXFkQro5ZDkSoJE1UD01QPaYOUC42/an5Slz0+ ZhL8avvlkBedNW4ofCtIVLg5bYbGHwbzNaVYtsGHJB37dcCBBTeDT0iKsPEnMqw8IBTl dccdrMWC8v66ezO5be6cnmZZZ7tQO+MtkID8ge/obL0ko8Z5pF/KF6roexfAYuj0FaCW Fj+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=Pv6Z3iKL7TcecIBrv+rhHm5TJHkfHHklG1Cx6eXBYYk=; fh=TXYzuIld3ZUQeXPpec9E/mX9DSWP5fA80EZAZ3xe2Wo=; b=mSmoMZAcXK9bhZpck5v4eSWLR7/XbBMDGmtpRMPaFWcPezu4xncBnTiyLKsreHlhe2 6sZGqjRtLpwUvRL7PkMoxF9j94+0dZZsMri4GKW3jKBUVBxTABy9I8ppRgMNfg+Ra38N DBwasYehHgnFOgQ9daHMBJU+TtrknBLzEVquQLpr+cBOR7F+PzeCkOBnLp2iuLhsxbYG 6fISy6LYwiifB3000mRx9NE0MimatoCO4OzPW5dITBf/CUAGKyHngbtayNFC9QfJkrYQ i4TxRNraTpO74c5e6VSYu3pROcEgHbR3H18u7mej4e8X8o1+yuV15Or+tgWb952IoK9z Ip0g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OswZuhsE; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-36209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t18-20020a170902b21200b001d5cfb42818si10330905plr.642.2024.01.23.16.14.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 16:14:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OswZuhsE; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-36209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36209-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A6E75B21029 for ; Wed, 24 Jan 2024 00:13:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4769F15A5; Wed, 24 Jan 2024 00:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OswZuhsE" Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (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 F2B641104 for ; Wed, 24 Jan 2024 00:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706055194; cv=none; b=Cb9dBq5KdRXNtkj121cVI7uZjnCQZHfoV50DKTAUYMVn9bkkreVwZC7a9C5Mvsgcs/z9Sl1EPeMG+KfgKa3j8Z0tyb/KG4mgDu1DURA5XUl85/xpR5FCzUC4KVJHs/6TQdmlVEZZYMf+HSdRW/BdR1Kkra0dddGghRU3kyGLwE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706055194; c=relaxed/simple; bh=+0OX+KVDk1ebh4KbEP1cHkkj5xEAoGbcz2tRclnubqo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k2RhzqpCZ+SRclWl6dh/Nzl7N5m7rDFzBGypy8EPNA5xnZ4HYnYPDDkhvZgJvrvXDttFd89M5hSUpmtIK4Xhyw/hIsKztm9CQXay7jIbye0DKKcL0D3XATndxNW8Lxd5Gx9YtvojL9KIWhboA3aS7w+pVmknznZ78w0YzlWDQzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OswZuhsE; arc=none smtp.client-ip=209.85.167.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f172.google.com with SMTP id 5614622812f47-3bda4bd14e2so3810322b6e.2 for ; Tue, 23 Jan 2024 16:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706055192; x=1706659992; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=Pv6Z3iKL7TcecIBrv+rhHm5TJHkfHHklG1Cx6eXBYYk=; b=OswZuhsEsGItyr8jKwAfWw+AJn36NlENQ1NubnPRMzMeDyQn9ItFPq27ClJoLOSAv1 0Gbk1RCUOiExR6xl8yTYZ/6d1tQjFhs4kUj56HrUgsgqEW51iOyJuDUNECwZ1m2KDh0q UJ8L8gtY5t2Y/Cn1Pxfia1aQvDvflgGmnoehnB1zApZBAyTf/ZyKfmPDj3e+ecqPL4yj j7jEd116GDoR8QM6LOnzBp1tVEzG6R57vSkU0AZ+19i9TdHL1uupqiPejPPe0jLp155s TjFMPVq798XEtzl/qEtCRb0A6zX8YLZ7bU2+nM/QZse82+yMCVevQEkZYMg33cvYwqd7 95JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706055192; x=1706659992; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Pv6Z3iKL7TcecIBrv+rhHm5TJHkfHHklG1Cx6eXBYYk=; b=VJ/ZTVD8LPP5b79x6mLYK23vbSeX75tV9MZkZizXPWyYjBt0IS6zPLKfBiXzTPplaz J0nLY3fPb0rDu5X1Q/pYlQ1DXLl5LufQg80nMHZyvLbhzLyY+xakqchkrwrR1Ikhw4fL ibOwNjV9b3uwfJwpM2qPUYTIYpDuEZd8jVS5ZHpl+mFufTh7B5ovqYwTSExBdUYeRTj0 k5kL3olc0Qr0cyX3ZbAiLin4hQbsSedk/sdgXcU+sEbOEjpcDUuQFP3TtTT6Z4MxqKrC 0cOiesp3/Cn7rQsrUwIPgMpSmLzvRi9lWqBAK/NhYE/9g1+EaLXsLJ0FlerHUVXZYGvE cvcA== X-Gm-Message-State: AOJu0Yw4nbrFUrBwrj3v1m1a0WPQ+f2h+WNNQCj4s1r8TZIyA4HTPRPA K1Q5d2F4WIyA5EJiaahN+wT/rg75x8iyMlG9btf24yHd8CoV8xXd X-Received: by 2002:a05:6808:1996:b0:3bd:cd56:99e5 with SMTP id bj22-20020a056808199600b003bdcd5699e5mr749898oib.10.1706055191968; Tue, 23 Jan 2024 16:13:11 -0800 (PST) Received: from localhost (dhcp-141-239-144-21.hawaiiantel.net. [141.239.144.21]) by smtp.gmail.com with ESMTPSA id k11-20020aa79d0b000000b006da04f1b884sm12138016pfp.105.2024.01.23.16.13.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 16:13:11 -0800 (PST) Sender: Tejun Heo Date: Tue, 23 Jan 2024 14:13:10 -1000 From: Tejun Heo To: Lai Jiangshan Cc: linux-kernel@vger.kernel.org, Naohiro.Aota@wdc.com, kernel-team@meta.com Subject: Re: [PATCH 8/9] workqueue: Introduce struct wq_node_nr_active Message-ID: References: <20240113002911.406791-1-tj@kernel.org> <20240113002911.406791-9-tj@kernel.org> 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 Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Jan 19, 2024 at 03:55:49PM +0800, Lai Jiangshan wrote: > Hello, Tejun > > On Sat, Jan 13, 2024 at 8:29 AM Tejun Heo wrote: > > > @@ -327,6 +337,7 @@ struct workqueue_struct { > > /* hot fields used during command issue, aligned to cacheline */ > > unsigned int flags ____cacheline_aligned; /* WQ: WQ_* flags */ > > struct pool_workqueue __percpu __rcu **cpu_pwq; /* I: per-cpu pwqs */ > > + struct wq_node_nr_active **node_nr_active; /* I: per-node nr_active */ > > flexible array can be used here. Yeah, will do that. Thanks. -- tejun