From nobody Fri Jun 19 09:50:23 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C10FFC4707F for ; Tue, 5 Apr 2022 10:26:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354596AbiDEKOp (ORCPT ); Tue, 5 Apr 2022 06:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241157AbiDEIcw (ORCPT ); Tue, 5 Apr 2022 04:32:52 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3447E165A8; Tue, 5 Apr 2022 01:28:57 -0700 (PDT) Date: Tue, 05 Apr 2022 08:28:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649147335; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oVHWhjMftF/LEuPWxtLPZ5M8sn8Gmtt2r0kEYlkYSIE=; b=f3Yohau+hyHlgaF1VsU14KBQ5Wab+cMxXADSgud/bcQwyMrcooRdBHE+rKjtXtTlYXbl0o lnI3vCnJdkA88Uroi27KX6OvZoexcJ/+iUSJQd3Q/2eoWv9IROF+mUci7ba2ys0iVJGFkf SEndYsz+Gfehrs6bdLF0xb49dhevd4TEKN3E6l9PuXXIxcayYB7HFo7MEw5ZKEaMrtX8n2 +llx3++CPS/sPP7JAagXB0AO+JW5J37clhIgnG1KsER47eiIQayZSHIuz6Qt23TnRX8VcZ FnduGJEylzBRXoZLEtYxi4yY4NZt/6nJgGKBJ2AT72FXz8FJMnV1BpKObuNLYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649147335; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oVHWhjMftF/LEuPWxtLPZ5M8sn8Gmtt2r0kEYlkYSIE=; b=BQRDD3TPGKsudoQNaCEiiz1Si2IWkOzC39JrO+jnhicMRMw3pCKwq15l4Y7L5sp+sEfpw4 frsjzMFOK0wXVeDw== From: "tip-bot2 for Sebastian Andrzej Siewior" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/urgent] Revert "mm/page_alloc: mark pagesets as __maybe_unused" Cc: Sebastian Andrzej Siewior , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220328145810.86783-4-bigeasy@linutronix.de> References: <20220328145810.86783-4-bigeasy@linutronix.de> MIME-Version: 1.0 Message-ID: <164914733438.389.6056031728611068498.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/urgent branch of tip: Commit-ID: 273ba85b5e8b971ed28eb5c17e1638543be9237d Gitweb: https://git.kernel.org/tip/273ba85b5e8b971ed28eb5c17e1638543= be9237d Author: Sebastian Andrzej Siewior AuthorDate: Mon, 28 Mar 2022 16:58:10 +02:00 Committer: Peter Zijlstra CommitterDate: Tue, 05 Apr 2022 09:59:39 +02:00 Revert "mm/page_alloc: mark pagesets as __maybe_unused" The local_lock() is now using a proper static inline function which is enough for llvm to accept that the variable is used. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220328145810.86783-4-bigeasy@linutronix.de --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2db9578..6e5b448 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -128,7 +128,7 @@ static DEFINE_MUTEX(pcp_batch_high_lock); struct pagesets { local_lock_t lock; }; -static DEFINE_PER_CPU(struct pagesets, pagesets) __maybe_unused =3D { +static DEFINE_PER_CPU(struct pagesets, pagesets) =3D { .lock =3D INIT_LOCAL_LOCK(lock), };