Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2607531rdd; Fri, 12 Jan 2024 15:37:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnf6ujJPsyPxOkjOOdKEbDN8AbLIHPtlqzK78FR+72EL/vJz3HQsrHHbSwswbkgnxsRuEi X-Received: by 2002:a05:6402:a43:b0:557:5568:4828 with SMTP id bt3-20020a0564020a4300b0055755684828mr3067814edb.10.1705102641242; Fri, 12 Jan 2024 15:37:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705102641; cv=none; d=google.com; s=arc-20160816; b=lfWwlQM6y4M/SftdO14jzKgjp2DwXrH7cl1iVFuv/cn92kaDzg9JMauBci5AYLy4AG Zzs3LXj0Pd4qetMVcu2PmPgOaW9N88pF6RSrCsVmt76IzwaXUVDljM1B9lLrPtgPKdF0 GriGeclcS75yYcUkM7IBUNyqMO4FLuol5KDxtuDOxTno4hzsh9gCwkn/QJVmujgUhgAW m5ObNHR6q/G16lUvzoM41yFCk+OPKt6QuBLTFnNlU3Z/a2hGT5CSGuYR4rqS/eWFxL+D SUNd9cy17Zky2lKXWyyuEaH4eFjJNJluIXzJ0fjSxVc7yNELc2wCZkEHJ4Cdzak/z1FL fq+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=SVfOI8w12aI3+T3TMUSSNd7UpcAZD7/xtS98IbT/+6k=; fh=VBIin8P6pr5d14n52e6pnasLsTR6ydBySIvvstEs8TM=; b=c70f8j2q3cRQyzj4gBkoAPuMCQmee3tmzJkls8HcVvShrhlNkE/WT1yZGag3wki6NK nTYTixIi1Kf7JJ2dhj3KQxoux536ZJzsPaaoucEiylyqKituGk+/6LsS2eSmcKy/X5sS Vo0ayFxQQUWYk/4CP5GEMEUkeqqI9Fjthn+Cd+wUUpjBzdw8RUgo+T601eAayiZcllmi BChQMu+BiJHqtnvNxl8/g4QwD8AaZo1oZHREn7eoN80NLoJCii7JJ+z2fpA/8eKH967e ZFV7n1FuEExGnRKZtpBzkDkru4Vp5QALZBN+LX4G8GJDKT6QW/krU2EH9WC2LXntN436 YdVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25103-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ef9-20020a05640228c900b00557dc12f7f2si1840862edb.236.2024.01.12.15.37.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:37:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25103-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; spf=pass (google.com: domain of linux-kernel+bounces-25103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25103-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E90271F235C2 for ; Fri, 12 Jan 2024 23:37:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0B2A1A5A8; Fri, 12 Jan 2024 23:37:13 +0000 (UTC) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 F155F17734 for ; Fri, 12 Jan 2024 23:37:11 +0000 (UTC) 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-ot1-f51.google.com with SMTP id 46e09a7af769-6dde173384aso2709309a34.1 for ; Fri, 12 Jan 2024 15:37:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705102631; x=1705707431; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SVfOI8w12aI3+T3TMUSSNd7UpcAZD7/xtS98IbT/+6k=; b=AeqAI/OkLSjCu61nLjU5ekoC62A2ndu1dNFq95J/lhVv6eCt5xXtbCoNuJk6TEVq/r YVhD5Y0SN8kVxZ4a/OPtAglbII9WIbSqzN3URimSgkF540PF6MF+iz/s+PJCXWQRvSyD a4vkHjHM7JisVwgkKM8czF7RytOfPkFonWO5T1HLzts7SHh17C9NsiWqon+jCEcokY7x JXM67YUQWU2lCQwQTGU7dKy9CaWl1hEQqwZ+YWiRzJSlCp4C4jyaZl2qwspvzHfajz1t hvmqLWH6MmC3YIIaKaCDLyLmIFS/zGlljiGKu7Sb0MUKP4C/MYNQmEt+dD+nu7s0KJZr Z7Ow== X-Gm-Message-State: AOJu0Yzk7aAk5sDomv78MwcdaItsDOeQ7rd3oULn7i0AsgJKH8cQdn3r 9s9heE+znNnJTMamw57JiDkot8fjjyq8rA== X-Received: by 2002:a9d:5c11:0:b0:6dd:e286:309 with SMTP id o17-20020a9d5c11000000b006dde2860309mr2194781otk.76.1705102630992; Fri, 12 Jan 2024 15:37:10 -0800 (PST) Received: from snowbird.lan ([136.25.84.107]) by smtp.gmail.com with ESMTPSA id x5-20020aa793a5000000b006d9b4171b20sm3676811pff.112.2024.01.12.15.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:37:10 -0800 (PST) From: Dennis Zhou To: Tejun Heo , Christoph Lameter , Thomas Gleixner Cc: Peter Zijlstra , Valentin Schneider , Dave Chinner , Yury Norov , Andy Shevchenko , Rasmus Villemoes , Ye Bin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Dennis Zhou Subject: [PATCH 0/3 v2] lib/percpu_counter, cpu/hotplug: Cure the cpu_dying_mask woes Date: Fri, 12 Jan 2024 15:36:45 -0800 Message-Id: X-Mailer: git-send-email 2.39.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi everyone, This is a respin of Thomas' series [1] against v6.7-rc4. Largely it's the same minus a slight change in percpu_counter.c for batch percpu_counters and updating __percpu_counter_limited_add(). I don't think we reached an alternative resolution here so I can queue this up and give it some soak time in for-next. [1] https://lore.kernel.org/lkml/20230414162755.281993820@linutronix.de/ Thanks, Dennis Dennis Zhou (2): lib/percpu_counter: Fix CPU hotplug handling cpu/hotplug: Get rid of cpu_dying_mask Thomas Gleixner (1): cpu/hotplug: Remove export of cpu_active_mask and cpu_dying_mask include/linux/cpuhotplug.h | 2 +- include/linux/cpumask.h | 21 ------------ kernel/cpu.c | 45 +++++++++++++++++++++----- kernel/sched/core.c | 4 +-- kernel/smpboot.h | 2 ++ lib/percpu_counter.c | 65 ++++++++++++++++---------------------- 6 files changed, 70 insertions(+), 69 deletions(-) -- 2.39.1