Message ID | 168138594070.404.3020542064246927502.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp968849vqo; Thu, 13 Apr 2023 04:45:59 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkLXbPE9AfFGZr3EuRy7M0jdAZkZ13cujSpn2evz0T5noTSSKsyj7wPPbdOgtcjPbRsAVC X-Received: by 2002:a17:902:fa8e:b0:1a1:97b5:c63e with SMTP id lc14-20020a170902fa8e00b001a197b5c63emr1799219plb.38.1681386359037; Thu, 13 Apr 2023 04:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681386359; cv=none; d=google.com; s=arc-20160816; b=Q3j/fHIf21xALf5DWWuhfbNLzxCU9i3Wo1MPxdCYkn3JsLxsEYII3SpPfb+pnCVGJ0 hFE2Zn8oWHXPKMy/D1qrxS/otXmv1uLGOMwWulLRzrBBD9oqEV1uiS4bLxWc2Qgeu9Gh Vdi1Nah8wc86Rn418W+LZlylVsPoAFS1qCKxmHJSaglEIA/1cSxOR3zJAoKgXYOXxOHB Yp0yFM2+n5RQbM407lF6+1U86bE6n3hFmCIAqitziK2tLAsZDLW9kMF74FOfVS1/NiPV bzTCb5NjZGFP2VHx9lhCYkGqOC8ZGxpTJUMdzhUEoumnRR5ruoAw1cq4DmqbkiEntO7g h1IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=h1miRuxVLEJWCzY17MzDkYMAEk04/eft8GCJsO//SM0=; b=nqSuJtYLmBS6DxSw1UKQboy5spEOrbQp32wkwn2SwdlRStbzzRZFteIeoRWopJZpi0 jP0zH2ov+ZeCVSimfm0+rTtKgdSXFj/ILsAnJI6Pl9kYtLOMa7pNx5nDQc1DMxY1syik Sriaj3wK8Ii72Yx8rUJrh2/EjIQk0vnyPtK8xmWaGBp9n6wiDEkhtuDUc3uPJpTbnuEG U033KK1BRWsCP4kye737QD1r5crDW3CyckuDznZucG/4zxMyAOA4vqVZcRY7jAPhvhMp uoGn3mQJllxLj7an45t/LDQr0Fg0/RRDs3APl/b2N/9PebVOjc6LQPQGSq6FY7RoPKhS Gcxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dpSSq5Hw; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a170902ea0700b001a52ce30cc2si1973145plg.420.2023.04.13.04.45.46; Thu, 13 Apr 2023 04:45:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dpSSq5Hw; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230360AbjDMLjd (ORCPT <rfc822;peter110.wang@gmail.com> + 99 others); Thu, 13 Apr 2023 07:39:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbjDMLja (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Apr 2023 07:39:30 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 622D59ED6; Thu, 13 Apr 2023 04:39:05 -0700 (PDT) Date: Thu, 13 Apr 2023 11:39:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1681385941; 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; bh=h1miRuxVLEJWCzY17MzDkYMAEk04/eft8GCJsO//SM0=; b=dpSSq5HwrYbaYb/VQGcJ+CSWChYFL+rIRpz7xkCbOMA4Qhv06j2ixwwjvZFBO5TZcBtyT8 oTr9nHq9Go6eak6spZPOo8hxZauUK0eCUpFUt3MleUQzsRWaiVZksQm7g+EUC6faEYCtvt lKc9pcPSqIIiAw1FheKKhz5nWWqsTNEEpjrlleVcrcA6PW8+YiqBsfP6z7/Oe/wcBN6Yj3 w2PlZPCck9E2HEZzY7Sqm76SjpQd0OHaM6Ay00eMEsWHjMOQAiRrTIjTzGKGvwWfEbM4Gh zvSohbwW81LgOFKhAPbkKqKfuwOHSO124nRK5J2k4A7fWhuqooH++EKg6RKftg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1681385941; 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; bh=h1miRuxVLEJWCzY17MzDkYMAEk04/eft8GCJsO//SM0=; b=D+oj3NKx/YGBo/yd17NYSYqKKGlYv5bKQ3/e/I5Q5NsbsysI/vSOnYthXVW8YLQCqeFsfC FIPb0AZ9fOUDqoAw== From: "tip-bot2 for Josh Poimboeuf" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/core: Make sched_dynamic_mutex static Cc: kernel test robot <lkp@intel.com>, Josh Poimboeuf <jpoimboe@kernel.org>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168138594070.404.3020542064246927502.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763061383019568305?= X-GMAIL-MSGID: =?utf-8?q?1763061383019568305?= |
Series |
[tip:,sched/core] sched/core: Make sched_dynamic_mutex static
|
|
Commit Message
tip-bot2 for Thomas Gleixner
April 13, 2023, 11:39 a.m. UTC
The following commit has been merged into the sched/core branch of tip: Commit-ID: 9b8e17813aeccc29c2f9f2e6e68997a6eac2d26d Gitweb: https://git.kernel.org/tip/9b8e17813aeccc29c2f9f2e6e68997a6eac2d26d Author: Josh Poimboeuf <jpoimboe@kernel.org> AuthorDate: Tue, 11 Apr 2023 22:26:41 -07:00 Committer: Peter Zijlstra <peterz@infradead.org> CommitterDate: Wed, 12 Apr 2023 16:46:31 +02:00 sched/core: Make sched_dynamic_mutex static The sched_dynamic_mutex is only used within the file. Make it static. Fixes: e3ff7c609f39 ("livepatch,sched: Add livepatch task switching to cond_resched()") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/oe-kbuild-all/202304062335.tNuUjgsl-lkp@intel.com/ --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index b9616f1..d861db8 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -8674,7 +8674,7 @@ int sched_dynamic_mode(const char *str) #error "Unsupported PREEMPT_DYNAMIC mechanism" #endif -DEFINE_MUTEX(sched_dynamic_mutex); +static DEFINE_MUTEX(sched_dynamic_mutex); static bool klp_override; static void __sched_dynamic_update(int mode)