Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp843474rdb; Thu, 18 Jan 2024 23:56:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEN8LLBmiYmZCcVvYd0tn5L+tjMwjey0H8+B5xmlILy3RVLOLyp+PcE8oPYD0J7p34zRSF+ X-Received: by 2002:aa7:d586:0:b0:559:14c9:11cf with SMTP id r6-20020aa7d586000000b0055914c911cfmr1030663edq.80.1705650971255; Thu, 18 Jan 2024 23:56:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705650971; cv=pass; d=google.com; s=arc-20160816; b=onjOi2v0iHVtb1wCZ3vGGibvfXNA28rzmd9Cqwzb0UBzhLoO7jZM8iXmhaOkyefCC0 pVu+XKfsad0cZOQPWEMEYuRJ6lr2zoUwCmH5pFWouoNMRD5k9DVkgnD0bpt0jazhT2cr t6Hd5b2YfSdSKt2ML30BQET1jjIEwq77rHF+5S6mXtO8IIk70N8UqUdw1EKYrf9BEpOL 26TQ3cVc4RUxI/HWwLw5qeivWqMw4lbvupxoaTNtmzvujkbd6dRoiepRnj69oMLnV7aX kaj3u9LInCA7durH7E63aHEBzCLDHzgRWhIdAp1dQ/huGipS4RW1q7zAeL228oUGaDPM EWzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=0p/QzznUuwdyqEAl4teM5oaDQD34XWmEBMBut1QG2Rk=; fh=x4smHwPOFOw21iBdSC3OpOhG6G0fYH4M8HPWFGpCrr4=; b=MhrP3KqX/jEbdDzPLJeQR7pjawEorG/NGZqpl0aXRbgMsMI4/ooP9AEAZ+Ws56Mj03 EurcSyi4S8yZ9JZsplKfwv/lyNVNVjirn0hwyoV/WspzGpvVry3fm1ooM1qX7bvLWqaf iYmY9S82E2P8n3Yov7xXhBTw53NPUtawlsgrv0SUx3fxjxd4l9ICVWVEW0mIrgkEfbjD 9e27vBKF1eED7L1b89RAsJUqmh+JsUKKBVGSFeogefMeSDXgCLUjlUMEsDqzFQNp+4dv fSb4U3iookJErotAM50vL9/zspgmCjuS8XqUmbTKlxR2MAZwZD4hLYK16nrBNDOdmeo7 YsAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JcQN7NN8; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30870-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30870-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q14-20020a056402248e00b00558a3757f45si7827359eda.608.2024.01.18.23.56.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 23:56:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30870-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JcQN7NN8; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30870-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30870-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id ED6261F234D4 for ; Fri, 19 Jan 2024 07:56:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B7DCD52F; Fri, 19 Jan 2024 07:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JcQN7NN8" Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) (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 8488F8F6E for ; Fri, 19 Jan 2024 07:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705650962; cv=none; b=dJXFhFPtpKib6GKQG8q5jknsAUN81YwD5obYnEtRbXiF1H+q4rA4oQBuDmkiZjYivt5FhlauLCYS4t51/L0F6oxI0XfadeXI26288l49thqsoyp51yZ0hTYxedpNAgYGj8UP12RXISAmRTUKKF+9+YedxqmVhTR/53yjgdfT/MI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705650962; c=relaxed/simple; bh=6V5XZisZ4GWoTJ991u0pDnTPO6Gubo7F5/ErXbiQ9/w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Z267JIETr1F3kPLduuaEud+Wy8sEd4GEGugd+UYLIpKvaBkgIKka4UeTiDQAL+5iwmkEME0+5qTs8W1MiQuC24NskNqXhfInbev6MwhVtNeSqHyza5LF3yyiYGHR8T72d1aNC8M5M6dzyMDTKjRKVFhDUS08OlyBEZIWs4S7HIg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JcQN7NN8; arc=none smtp.client-ip=209.85.215.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-5cf2d73a183so1180386a12.1 for ; Thu, 18 Jan 2024 23:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705650961; x=1706255761; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0p/QzznUuwdyqEAl4teM5oaDQD34XWmEBMBut1QG2Rk=; b=JcQN7NN86zLCiq2ySbQa6G2J4qOhXUkSkhZceeFsiFECa45ZRDVGqe/XeboCLOhgwG TzsKNJA+IFTwqqsrdD6AVIX8ecfsK7vhcM4s50Lx8jfsWMy1FqlckRe/olaPJLvvY2MQ rxoFKsuvlxFdozG6KAIbjNnWQt0RQqAewaqjUNkKYMnFIbPyq8X9Vmpi8dZr9+5WQRgm /rYOieHJiWE36fJMJU3IGTK1pf3X7rhaFA7hI0V+jtaW04DHihEl774OXb07NN19Ef6d Dgu+gjpgqYVlY/FvLRTesMhYrRN9S/evxmPbAaFRNLr8Ta084vipMnPUCvTYSdHb9lhg MEug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705650961; x=1706255761; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0p/QzznUuwdyqEAl4teM5oaDQD34XWmEBMBut1QG2Rk=; b=Ffyb2IM6SNCykpJt8/exnKZ3YKB1mB01PgkkfwMbPWTibpUIdQdwLo46g5ILDKrkfP qW2n8Sh0diaRQhD0+Rac3x8kKeH+KYAz1WfYpF4uKPXTJCmp37ywdOqFbzoLMGtWhJTg Np97uxVZ21ly0bxlrBl+p4SfQyGkqpI3tyHLfGTaVfIrDtNSf1oLXk+eAp4isclv2qdq 8+nVy3bENLHH1c5l8Nbuxe1TP//lclNkbA/hgY2pV3hys+seDTH1sMbl0FX6q1gmq+QQ nysLscgswN7jN4d4sGzHLeOEiLlF7TqsVbMihWj2B5hqJLqj93AX8YUOS292XFGL105e iSgA== X-Gm-Message-State: AOJu0Yyfs0nVqQdSiirQjFcNEpvpmGXDiESXDUKNUb0sNSez46UqrEN9 /lrhiZgR5A0kiAnSNekB6QLXWTDM6I42GAVK0iWi3nVzxqcKnIVSx6Yd/g5318vuraomJtsf6hf i7hZr18G7hZnmLUKtra2TsbtXdGl9dHL2 X-Received: by 2002:a17:90a:eb0e:b0:28d:950f:f1ca with SMTP id j14-20020a17090aeb0e00b0028d950ff1camr832614pjz.2.1705650960778; Thu, 18 Jan 2024 23:56:00 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240113002911.406791-1-tj@kernel.org> <20240113002911.406791-9-tj@kernel.org> In-Reply-To: <20240113002911.406791-9-tj@kernel.org> From: Lai Jiangshan Date: Fri, 19 Jan 2024 15:55:49 +0800 Message-ID: Subject: Re: [PATCH 8/9] workqueue: Introduce struct wq_node_nr_active To: Tejun Heo Cc: linux-kernel@vger.kernel.org, Naohiro.Aota@wdc.com, kernel-team@meta.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Tejun On Sat, Jan 13, 2024 at 8:29=E2=80=AFAM 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 pwq= s */ > + struct wq_node_nr_active **node_nr_active; /* I: per-node nr_acti= ve */ flexible array can be used here. Thanks Lai