Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp23298img; Tue, 19 Mar 2019 16:57:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUdGGvefz9HQk2vxM/Uaq3sfjCv4syfFf2+HH/YQeBGYeJ848asM6pZ3zt12eTZNNHz2qp X-Received: by 2002:a63:68c9:: with SMTP id d192mr4493863pgc.264.1553039854625; Tue, 19 Mar 2019 16:57:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553039854; cv=none; d=google.com; s=arc-20160816; b=r+tDLjsPrf4fuOAIVQ24rM5vFx3RVsd4GC1E8QnN0KGGG0ZWa5oIiBrjxhoNERk0e7 2MTuqdi/QoBQlt1qLdACum8kNjH/8KPAQDjFEqV2ZHJ6+hcuBFl4nQrSdSXCWSEKJDIQ nrxGqwA4lePRzxeeKXOPpYMYvpNOU2g8UpVDo4tBVXqcmRyatKVc/++2gBkAKd6l4yea BadwSkz/O5PToOLbhDkR66WGaBkAi9EZT2vLK51ii6Brr+DNNs0fvTRsfuuSxzwJ/tqT MSJXIFOvlvHM4F3SR2KvwMI8Ty5OavYIggVfUQt8mJycDyHTij/CUQg2BGqXr0XiXM1D MEEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=Hcsw4jWN1hMUQas5fk8qH4/pHraV7uLJWBMnp4emY1w=; b=XpayughO5z2XjTQTcKhnJevJYjQjZnEkZcGlvNdMWv6BhocMobKk8h8o3Q2rXeMh8T eYOIBoCcv6Kpo1oV59vYEFEg89Ekbg5PIan9oAONNYD/XhJH3tvIGEB421p6rAb9s92V FRto2WK0xeeg1N1lfMJVlSHV5yJ/ieHdeEninszt2k7t7lN7YHpCTRETPJ13uIFlEuxo f4hbxOLjBdP1/LjLgYz7bOLYwzi2BJ9tIDmiz0EzdyjMHaXEfoluzJz8MeACNF3f/dh1 zpGCrlDPcu/HS1vr4GMq8qT2UPMOasRZCjcaWFyG0LpkxDg+8ycyIo09x6mJzOkpNdpP /+dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kkRScrd3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t8si231620pfh.229.2019.03.19.16.57.19; Tue, 19 Mar 2019 16:57:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kkRScrd3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727462AbfCSX4h (ORCPT + 99 others); Tue, 19 Mar 2019 19:56:37 -0400 Received: from mail-qt1-f201.google.com ([209.85.160.201]:54367 "EHLO mail-qt1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727422AbfCSX4d (ORCPT ); Tue, 19 Mar 2019 19:56:33 -0400 Received: by mail-qt1-f201.google.com with SMTP id b3so589024qtr.21 for ; Tue, 19 Mar 2019 16:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=Hcsw4jWN1hMUQas5fk8qH4/pHraV7uLJWBMnp4emY1w=; b=kkRScrd31+enlreI5z0oUEdvclr3JCffoxWlBxgdfvsiHG+l1qdm7rpPzTM74AffEB LfPQCYRFRkk5MVQ3Sswlo00GL73nAMZLv5CUblp9iwglJ0iHORdkEQbjcmg+RAyhtDSK O9SwD0WRSCDe+dqmFFjegvme5136ckLAkDUHKL6mVSMZP0sNbLYuvx8Ezdf706E/KfDY 9fBeMjXuR3YFS9h86rSzKNERDrjqmseba0FXjHr885Gzr4DFfIZy5quXrHuTBM0lthvA 9RXHgsNWSfaXr1nwN76MY2akaLAzeMLaPr9LrKq+sgEJNGwUCyr6TQwEqhNFsTdPpUau OdXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=Hcsw4jWN1hMUQas5fk8qH4/pHraV7uLJWBMnp4emY1w=; b=k9pOBDOHGI2ysdtWx2sPGLGdyFNXJ+GbwDbmq/qjPM4/gimI7280itkPBCNrDyfWzc aeyE41qj6oV57YwUt+gC/6p38IWJsrxU2kR32rGNkzPIrYqcqke1DO/sW+juIkAmvHXe PTJ/QIf0lynvrr5eYvAQlpg2CoiNMdpSx2hI6NlcvP2IRDgTxWmDb+uLAeNcKQIvf909 h3ngYhgSqpBoNvVbqZRTPX0A+q2EMD/RepxY99YQen0o1D89NMjjQEkSmtPMRipj/kzK YYj+JterK0wmMcL4sJ0c7gb0+lB4POamfhuQuYQsjVCamwPxvbtjYcT5ijvMtXphgTcV AVyA== X-Gm-Message-State: APjAAAXbZEaNN8eDCUkz7ZBUxwQPIxxBLyzZ46Nr0zpOOL09YfGeF+JQ 5RC+lxxvOUuN22KAVih9wVl3UGhqOaY= X-Received: by 2002:ac8:2e7a:: with SMTP id s55mr13937762qta.34.1553039792366; Tue, 19 Mar 2019 16:56:32 -0700 (PDT) Date: Tue, 19 Mar 2019 16:56:14 -0700 In-Reply-To: <20190319235619.260832-1-surenb@google.com> Message-Id: <20190319235619.260832-3-surenb@google.com> Mime-Version: 1.0 References: <20190319235619.260832-1-surenb@google.com> X-Mailer: git-send-email 2.21.0.225.g810b269d1ac-goog Subject: [PATCH v6 2/7] psi: make psi_enable static From: Suren Baghdasaryan To: gregkh@linuxfoundation.org Cc: tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, axboe@kernel.dk, dennis@kernel.org, dennisszhou@gmail.com, mingo@redhat.com, peterz@infradead.org, akpm@linux-foundation.org, corbet@lwn.net, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, Suren Baghdasaryan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org psi_enable is not used outside of psi.c, make it static. Suggested-by: Andrew Morton Signed-off-by: Suren Baghdasaryan --- kernel/sched/psi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c index 22c1505ad290..281702de9772 100644 --- a/kernel/sched/psi.c +++ b/kernel/sched/psi.c @@ -140,9 +140,9 @@ static int psi_bug __read_mostly; DEFINE_STATIC_KEY_FALSE(psi_disabled); #ifdef CONFIG_PSI_DEFAULT_DISABLED -bool psi_enable; +static bool psi_enable; #else -bool psi_enable = true; +static bool psi_enable = true; #endif static int __init setup_psi(char *str) { -- 2.21.0.225.g810b269d1ac-goog