From patchwork Fri Jan 12 23:36:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Zhou X-Patchwork-Id: 13518768 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78AB3C4706C for ; Fri, 12 Jan 2024 23:37:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 83CF46B0092; Fri, 12 Jan 2024 18:37:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7C6F06B0093; Fri, 12 Jan 2024 18:37:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5A89B6B0095; Fri, 12 Jan 2024 18:37:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 429656B0092 for ; Fri, 12 Jan 2024 18:37:17 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 128CDC06CB for ; Fri, 12 Jan 2024 23:37:17 +0000 (UTC) X-FDA: 81672272514.04.728CD06 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by imf23.hostedemail.com (Postfix) with ESMTP id 4D8D314000E for ; Fri, 12 Jan 2024 23:37:15 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none); spf=pass (imf23.hostedemail.com: domain of dennisszhou@gmail.com designates 209.85.210.48 as permitted sender) smtp.mailfrom=dennisszhou@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705102635; a=rsa-sha256; cv=none; b=GM37ysm0RtfugoeDq2b5LA2kyoZdf/ravQcCwmOmXBQgI8NOr9Vs3E/MRGTuLrmgbmixuv 2ZoGj77Xxi4Oq1BXXM6QeEgOMm4b1wJ2SwAgNuo51ZzNQT6HJZDOxAhSVIGBMwEcmX6gQl Rn5N89zJNzTjNFi/dciqcj+9GaLYYaA= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none); spf=pass (imf23.hostedemail.com: domain of dennisszhou@gmail.com designates 209.85.210.48 as permitted sender) smtp.mailfrom=dennisszhou@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705102635; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DXiBs0Dsv9lw08RA+psp/orErqrti+c5fonsf5dUFRo=; b=zgxJjRnKyrWvqR1vUUTZpTjo4on+vaisNY8VXEtynGU8cm2gJU4ZtnN8Uj6nlrXFuDInjj 82d8VtNitr1aptqtjStdHJc6LvW3No9EYmnujlpjEKjAey9V6A4eKjTlO95ylnrGDA7M2E uvXi6Stm3GMmf7vtlRYigob6M22LaKE= Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6ddf05b1922so2085577a34.2 for ; Fri, 12 Jan 2024 15:37:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705102634; x=1705707434; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DXiBs0Dsv9lw08RA+psp/orErqrti+c5fonsf5dUFRo=; b=NGnnL8nVXGRH/wqih4vzUjsvVPnwoU/1+Zq87DN7LbCqs4TIQal8mJT1ao4LbtUJzn A4mzHV8CzHuZa3ZGAtV6YYemuTjUHGtbUb2jVfCxwtA/0mZo0bPTKQtB3ZTXGlAVyFkd 5h+lyl8fctghNIGSWEXWlkJhC1suwGBqBFaJg9xVxZV+GLgBOtr4H1QnKr+AeWCqOoEJ CybHk231/kHfzfmEvt/k5xGEeMFWBUALw5vs+PY31OUQLCylNo9GARmUKUwM6fQqYPx+ SZ/XgQdyOAks5VIZdd6EHDMib5eKftVQkCXN5kdcsNeI+4AFdt3BOjUGlq/RP0Wfd8kc Eq2A== X-Gm-Message-State: AOJu0YzG7XsCjNzl47cpsbXIUv2jKYKscsz5ZikJDpuRFXxx+XbR2JuG E/W592hhi9YScd9Hvp+zalc= X-Google-Smtp-Source: AGHT+IEdNIM2lremxB3JZhNXf4OuMUXyIV4MCDVGmUw8k5Ivx9Us2Hv3XZbGLovn7MBYk8JmFX6PxA== X-Received: by 2002:a05:6830:12d6:b0:6dd:eebd:cd5f with SMTP id a22-20020a05683012d600b006ddeebdcd5fmr2415192otq.48.1705102634455; Fri, 12 Jan 2024 15:37:14 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:37:14 -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 2/3] cpu/hotplug: Remove export of cpu_active_mask and cpu_dying_mask Date: Fri, 12 Jan 2024 15:36:47 -0800 Message-Id: <1d719106061cc0177eb16d6d5ac914c0485772b2.1705101789.git.dennis@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 4D8D314000E X-Stat-Signature: ee878ooe57poqkjxtmws7dh3jgc99tch X-Rspam-User: X-HE-Tag: 1705102635-434353 X-HE-Meta: U2FsdGVkX1/1AMZmfpulvb4MChUAu6jnzOOwWpJBkdBALzj6Yts3PlfzxRjd/gSO9wqHrQ8vFZd02XWW+p4mG5i+bo09et6DrD4yXEgt701YChWiDYxyrFv45ngBYoJivLeo7wY291UkiCjfilpYhwq6Q3uZKmfpUClguyQZUkueu6ydn/K2lKPjdvQY+4isANygJxN+tAzKcO6ZvVou6n/V0O3jsALUf8guRqDC6ax0ONncPrY/yXqBNjYkaaoQEv8+okE+QFIuh058YCRTHCTc+ebcyqORlUWwWIZ2LmQcatZIDjEE56THO6cJPJkWyHSJ/tqopZI4VGuYKYrVgx90DJU4y1XNI7jqplactnXhReNYawqCvxRIkmbbddSKgTzYOqKK0O2QKWWkcXm2/kcCvaezI1ExHXEQOv9CXBfsZXatUCHhWK9b0kNbUad83/UKMeA3jf7Lh0sZQ4DgY4BM+2TEi5NqghgEF7dwNkl8+NfS5C201R1d110btLUQtzbKupTKIKtfcPz0tu5XALfvIQh8AEbLCcsr4p5nw3EhTbKYakRpbS2708n8kljnF5PwRqtp6bAcKF5zweT1ZyISVsNWSxfWEjW972KkvMQ/UXkaO5eDO0ybJtXaVvyxM+RbPKQ8GbbRMHTf1H8ehkwqUhetq6L0cp/6Tq10tKmMuYTLl538dWpJgkWZQlAwjnN9FszRHruEjOA1rxd0C4MBX/INGBnQE6rbmWUpHm8XL0uy6IbMAuU1FpeJioAPAttckQ8T4JnWEeHI8Ec1ucHNByK+EhFuIMffbAg4evepHUjjg0XrnuvvVQCliRHDOvO60Lsbmx+MbbyRqrMWuPgLqiKOZMTX3d2gAZ1PDcNkDlPxOpAkVM2jtQylbgt7cfR0qlCBFiwtNWv//wW8CCqtZodNcr4eaeYhnyi/AvsuW9zwJDeDMKynLTYOd1sAvy4JYzuDAYlrZ9bRtS4 ItRlB7Er l3AEfG1hUN9+lpqtHezfFYDUqaHIWxzpeq7bT0jNsWTYb70MuG/IRCYuLNlGb7A6rNUsX8Fwz8I6qWZrgIrnro/ie9VdUrH/OgRf0TVP9iU3zz8oiavT4OWmnecfIQNjb9eKaXc76xnUod6IXE6aXW490WC6ZZio9WgAave2hL2/YxePYNhcEUWWkMxkLXDifCCMahBqe3bcfaozkG4bEm2sYqtEIoGgSkqFxajlG80msoIVOLVe/pgXpA+hcJ8Ct7pyDXJLA5n3/x4EJgbd0lvks4G10wmhsCo/ek9ZdkxfpX7EGOkvw4fDFS5k6TqZtS4G6ZFUmc5B8JeIQyay4/iv1G+8fqlkmMMRFyM5M6aECdGw1cSPyEpN14cTAUg/xRCbjTCbyZ/u0N8NYX7h4rNLvNuhjhsWQRGlMSuEc2Mzfe1d/ptU2FdT1ZwC/+xQY0ZDZdAe28UOlGMBpqGmmfN/YuVDuDeFgjLH3a8gbxly0/bi8xaW0XypbyhDAT/YPqXtIneEOSTBY16su2ELtxy1N8hCtL2rxlc94SItPOwFldeALCPbdJ7oreSms+O7Rje8Yf6XEo8JAiya31Iz0/f23GXd2jrdeWvH2fgAJe7I0LsSaPd4fDnZnSIF8Rtf341vhc4tnPm06LmIWntJzzD8gspPIzFCD2KGU X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Thomas Gleixner No module users and no module should ever care. Signed-off-by: Thomas Gleixner Reviewed-by: Valentin Schneider [Dennis: applied cleanly] Signed-off-by: Dennis Zhou --- kernel/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index a86972a91991..c4929e9cd9be 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -3126,10 +3126,8 @@ struct cpumask __cpu_present_mask __read_mostly; EXPORT_SYMBOL(__cpu_present_mask); struct cpumask __cpu_active_mask __read_mostly; -EXPORT_SYMBOL(__cpu_active_mask); struct cpumask __cpu_dying_mask __read_mostly; -EXPORT_SYMBOL(__cpu_dying_mask); atomic_t __num_online_cpus __read_mostly; EXPORT_SYMBOL(__num_online_cpus);