Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1480357rdb; Sat, 23 Dec 2023 08:10:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3nLntwVyNHWsoeRIQLPJuw9yDi9xpYWfDPPLT3VzjpZkEZa1+BT4B+rBkPpDbvSe3RD/T X-Received: by 2002:a17:902:d58c:b0:1d3:e574:9918 with SMTP id k12-20020a170902d58c00b001d3e5749918mr2427877plh.83.1703347810593; Sat, 23 Dec 2023 08:10:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703347810; cv=none; d=google.com; s=arc-20160816; b=Pcl29VrOZTSSLEHHP0ml9+xOSSyZ3ChHMOngjZ9JxmkxENhkg/NCzqQu3F1REJOEDt 9uVgCenK37Egzcji3w6Pu5zUGjkZnq8jBHoxzkfZuYlvwpKNDKmdxPQQ72TEi7vUE4hv kLFoPCQ/oL4Ivj90n8K/CPh7TnDNYtnMoWMvQozxH02djK7Yv+LxGvN9OINzlFaWUBme kZaja9v/ypDyxKh8RWx5Now8R0kUwaaGTdJ7XxUGttOyIQLtjhpsruKf/wTxUs6PT5kZ 1R6GpdOslkkwfOvppxama/jCieh1k0klKfsJ/+7ylwuEFspmi0JpIm59PuY6xv3nYqeV 1KCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=jdGCwaiRBNJcXRxfRezy5MYbCGCwO8pD1yTpHSGmw0s=; fh=dgUU9EKURdpL1eTITZousH7NWwhEi8yd7Ljj+JwwWs8=; b=KmMuRks7vXNJkYALFnVyTrNmpftoXYXVPYliwtRcxdOMK1oyyNT39w+VUGZxv3XVrC l4qsS/QT1ukm0vN8fV5d56b8nigvhv6NxlKoVVDPjuNqYTDbTne6IrdlGBB9Uk2Cnz95 jS4MSxjhRsIJEaUkS/EU/bZuEgjgm5LWCaWh9eFdsq40yzVAp6S6mTZR7/s4y5Fmd8n+ tXF9aiZyR/SXuMAnPQBhYYIfLYzA3anxmfCh/lwtJ183tHWwR/r5o2Zy9CPpoKQWDUvr Acae8rZU0emc6fLPlVfNlITgagIj8AThg9qR+NpIzNALdC51kpGoGpcYQatuT+4X+ZP9 jtbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=xApULiD3; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel+bounces-10486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id na5-20020a17090b4c0500b0028bff66ca81si3939959pjb.97.2023.12.23.08.10.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 08:10:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=xApULiD3; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel+bounces-10486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B3F98B223B6 for ; Sat, 23 Dec 2023 16:10:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC1F8F515; Sat, 23 Dec 2023 16:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xApULiD3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="amwVd3rV" X-Original-To: linux-kernel@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A019BFBFD; Sat, 23 Dec 2023 16:09:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Sat, 23 Dec 2023 16:09:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1703347788; 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=jdGCwaiRBNJcXRxfRezy5MYbCGCwO8pD1yTpHSGmw0s=; b=xApULiD3EJPXXwKhTqafVGQeQhLRjZZdZqJSo4TVo0ZY3kGu/xZnoGRnKSUQkfdMFTuNyn iLxww0bF8Hzk3Pj/sgNQRq2u5dMEGDk7iyxAd1mQNmWdokne8PGwZMlPIvqCs6pjijEALl AuCXxRHAR9FxZxneauWnY1I5JpvOl0Dcf/njLe30MTsi08G2rqrdf5RypXzjcJ8luRQkqc OsyYq5dFuL2MS27N9YM/txKxmuaFaYoy00GPq7xUWOquNVCQGaZDmFmAqQGyW6p3NQ8Ax5 nHWdXuCzPSXylYaE3hXI2eYtd9XmdH7MQisrP6V03aa/7fbAvfVXMH9mEnjcjw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703347788; 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=jdGCwaiRBNJcXRxfRezy5MYbCGCwO8pD1yTpHSGmw0s=; b=amwVd3rVTwQn50X2otN5T+uu6f2Bf3yewg02rWHYZc6YBzQhDMDQT1H1LUpnfwEtQ8bM0I yJj49RVadrc5j6Bg== From: "tip-bot2 for Wang Jinchao" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/fair: Remove unused 'next_buddy_marked' local variable in check_preempt_wakeup_fair() Cc: Wang Jinchao , Ingo Molnar , Vincent Guittot , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <202312141319+0800-wangjinchao@xfusion.com> References: <202312141319+0800-wangjinchao@xfusion.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170334778771.398.14685074303951213836.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the sched/core branch of tip: Commit-ID: fbb66ce0b1d670c72def736a13ac9176b860df4e Gitweb: https://git.kernel.org/tip/fbb66ce0b1d670c72def736a13ac9176b860df4e Author: Wang Jinchao AuthorDate: Thu, 14 Dec 2023 13:20:29 +08:00 Committer: Ingo Molnar CommitterDate: Sat, 23 Dec 2023 16:12:21 +01:00 sched/fair: Remove unused 'next_buddy_marked' local variable in check_preempt_wakeup_fair() This variable became unused in: 5e963f2bd465 ("sched/fair: Commit to EEVDF") Signed-off-by: Wang Jinchao Signed-off-by: Ingo Molnar Reviewed-by: Vincent Guittot Link: https://lore.kernel.org/r/202312141319+0800-wangjinchao@xfusion.com --- kernel/sched/fair.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1d561b5..9cc2085 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8221,7 +8221,6 @@ static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int struct task_struct *curr = rq->curr; struct sched_entity *se = &curr->se, *pse = &p->se; struct cfs_rq *cfs_rq = task_cfs_rq(curr); - int next_buddy_marked = 0; int cse_is_idle, pse_is_idle; if (unlikely(se == pse)) @@ -8238,7 +8237,6 @@ static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int if (sched_feat(NEXT_BUDDY) && !(wake_flags & WF_FORK)) { set_next_buddy(pse); - next_buddy_marked = 1; } /*