Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp945215ybz; Fri, 1 May 2020 11:24:26 -0700 (PDT) X-Google-Smtp-Source: APiQypJjarFEu80RdAuRUAS+tETdA0bZ1xLTKlMQpAzUrpp35WkI1c68GVyq8gD+sMSM4XsfRZhG X-Received: by 2002:aa7:cf94:: with SMTP id z20mr4470915edx.302.1588357466246; Fri, 01 May 2020 11:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588357466; cv=none; d=google.com; s=arc-20160816; b=SrY1j+IM321/qUjQHsHAdnYKbHsqr8WPH8nEfo1XMKB3kM5SNXg22PJFz0BdVB3xGz b6cp9XwmaR4Ypjv6BuUXRr5n8prbigHbvXJqs4/ULnMtFYCKKTiChpoISYnqlkl9mg+y W2Z2E7zvCs3W/uF3SeGbdA0eeFdkMsBXds8BevtIg+jVBaTYCfd0r+fOdfEZRVGwyJRU 0iYW5rcR6OxJuTj4cjIlLBrLLwZvrrd701Ex7eFmfroTIL8zv3DhMKGKOvrGxv1QZw98 ggAz4l8cGhlmfFR3AfgQR0/XZj8r0CxT0SW4s2Xd4CJ2s1J7cQRPqu4W9l0TWBom1+Z9 HH6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=sO41k61q04Z92SnI/2YVo09KsWW8yJH5//53bG36UqA=; b=wOCSWnAGkblTtXPAY5a4gQ2/HHSn29y1poisgZlmj74pOF6tEZ3EaEnL9hzjRZ7oEJ q1jg8XXJIh60z01vtEbAZx3pP82pCep6DhURhcMWUNNoxlEQ02cupoyuN7j+Ayy1n3Sk fIkUelGxkTa7482MUk/4FPa9NPe0m/wme/5CwpoDbwvtl9waQYPa/Y9ZevqHI26077iD P2NKMOSz/DdxLe3uIf5Rsg8bTPHRoIayMoUUL0xLMWjzObwF45KcAVQoUagBAt9EIBuX Dzhhqa0uT3/ZXQj7oo1AjbTgLlJOT6hYT81OSdPSra/rObIfY6COlgtithmMseFdhswq Glng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g25si2232943ejo.389.2020.05.01.11.24.02; Fri, 01 May 2020 11:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730601AbgEASWU (ORCPT + 99 others); Fri, 1 May 2020 14:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730566AbgEASWS (ORCPT ); Fri, 1 May 2020 14:22:18 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 150A9C061A0C; Fri, 1 May 2020 11:22:18 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jUaId-0003ZQ-Vg; Fri, 01 May 2020 20:22:12 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 0A2861C04CD; Fri, 1 May 2020 20:22:11 +0200 (CEST) Date: Fri, 01 May 2020 18:22:11 -0000 From: "tip-bot2 for Valentin Schneider" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/fair: find_idlest_group(): Remove unused sd_flag parameter Cc: Valentin Schneider , "Peter Zijlstra (Intel)" , Dietmar Eggemann , Vincent Guittot , x86 , LKML In-Reply-To: <20200415210512.805-2-valentin.schneider@arm.com> References: <20200415210512.805-2-valentin.schneider@arm.com> MIME-Version: 1.0 Message-ID: <158835733100.8414.8749051754124595190.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 45da27732b0b9b7a04696653065d5e6037bc5ac0 Gitweb: https://git.kernel.org/tip/45da27732b0b9b7a04696653065d5e6037bc5ac0 Author: Valentin Schneider AuthorDate: Wed, 15 Apr 2020 22:05:04 +01:00 Committer: Peter Zijlstra CommitterDate: Thu, 30 Apr 2020 20:14:39 +02:00 sched/fair: find_idlest_group(): Remove unused sd_flag parameter The last use of that parameter was removed by commit 57abff067a08 ("sched/fair: Rework find_idlest_group()") Get rid of the parameter. Signed-off-by: Valentin Schneider Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Dietmar Eggemann Reviewed-by: Vincent Guittot Link: https://lkml.kernel.org/r/20200415210512.805-2-valentin.schneider@arm.com --- kernel/sched/fair.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 63419c6..617ca44 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5825,8 +5825,7 @@ static int wake_affine(struct sched_domain *sd, struct task_struct *p, } static struct sched_group * -find_idlest_group(struct sched_domain *sd, struct task_struct *p, - int this_cpu, int sd_flag); +find_idlest_group(struct sched_domain *sd, struct task_struct *p, int this_cpu); /* * find_idlest_group_cpu - find the idlest CPU among the CPUs in the group. @@ -5909,7 +5908,7 @@ static inline int find_idlest_cpu(struct sched_domain *sd, struct task_struct *p continue; } - group = find_idlest_group(sd, p, cpu, sd_flag); + group = find_idlest_group(sd, p, cpu); if (!group) { sd = sd->child; continue; @@ -8681,8 +8680,7 @@ static bool update_pick_idlest(struct sched_group *idlest, * Assumes p is allowed on at least one CPU in sd. */ static struct sched_group * -find_idlest_group(struct sched_domain *sd, struct task_struct *p, - int this_cpu, int sd_flag) +find_idlest_group(struct sched_domain *sd, struct task_struct *p, int this_cpu) { struct sched_group *idlest = NULL, *local = NULL, *group = sd->groups; struct sg_lb_stats local_sgs, tmp_sgs;