From patchwork Tue Oct 10 21:32:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 150977 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp148125vqb; Tue, 10 Oct 2023 14:32:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEH9Rxem5Ijz3DtI9QuYmKj7fcP+g2NAByg8YGwD0s2q89NEz6XaNlmPaxKqodPcR4cokcb X-Received: by 2002:a92:d1d0:0:b0:351:54db:c1bc with SMTP id u16-20020a92d1d0000000b0035154dbc1bcmr18225128ilg.0.1696973561149; Tue, 10 Oct 2023 14:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696973561; cv=none; d=google.com; s=arc-20160816; b=SclkHZta7e/1TOonweo1qhNfQ67DUCFdriE4TGGAwuLYXDJEHSiq/Pw/XL9ACT2j1U ZkPlPpv81zPnI4Vkea1sBl3paH2r5FRV5Cx7NG9pLVpw5CRowNvWFTKH8FFoCF+g2944 JGPjNb7O8Hs7n5RjSQkMpdMtiXqc9HNHczVZpDuIEvLBU7QDmUiDbwWK0qp2g9jpWqRi 2Z49MF7bdOVmb7iPU5yg+Gv0oJ73iH5i/B6ZN2WkeI8rsJvQBDT5YXmtZZsxI0X2i4DP SkJlDeVZaKVl8KzFJo3vMNPfg3XDdriFVCZDLIb1C7qDC7phWkYApdHI4G8fNVXoWlst t1Pg== 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:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=hOaQfM4zFioarw34bWIjQOu6eQpt07BKCOQkpjNG9r8=; fh=/vv2oMcWDWnbqSotyTz9g5rFUGcsFzPKb7ZYknTlZas=; b=o+Em4oNRKWeRte8xPBGdaYB9gF7bavLx4ynTrKDwbjWZLzQ5uv7vQ7QWpdFtAGizgt K8gVcvwH+lSXZ66pHcAZxOmwgCjBUFzexKmhqeLvs9Rnzyqk73osAudt9ra+6I61U5rD +aCevYKbNGEY9cbkIyX8P9Zs1ud5EwSLpYqUZly2xgsjgq0Py7kFNQV7zux7fTegojZA /gxCQ6bsJSHWQ2ne7buhoqQ7ZixrFGMfHbMKHOFKJsDEAnTXoMGoNgisb6mzGcWhoRuq UXywvmE3jx5G0AU5aqeAPVXMiuhW/iqw5E8LPBnuZ395bOp5VJYTaWpNfBHyYs6nlRpq DdEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PYSiKtNs; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=9ypB397R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id 19-20020a631753000000b00578b26be643si12829437pgx.606.2023.10.10.14.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 14:32:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PYSiKtNs; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=9ypB397R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CBD0C80BF4C8; Tue, 10 Oct 2023 14:32:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344086AbjJJVcT (ORCPT + 19 others); Tue, 10 Oct 2023 17:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344087AbjJJVcS (ORCPT ); Tue, 10 Oct 2023 17:32:18 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12CAB91; Tue, 10 Oct 2023 14:32:15 -0700 (PDT) Date: Tue, 10 Oct 2023 21:32:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696973532; 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=hOaQfM4zFioarw34bWIjQOu6eQpt07BKCOQkpjNG9r8=; b=PYSiKtNstte8R/RCpZtq8kaX4lhprkTkC/uhuKLips74D9adcWR3pM6mvscoEHARSWH8sr joDZp9g1kFop3C467V9pZlvg0V8E5B8/1TbIPLsOjEkzm+TJBsIkxptMGHc+gFwMwNetgv BVk61iWySuoWXE8J7u7uSJ4lohOjo578+yPGCXvqiMlLxKxlBweuRQwCWgLKDycViiAinL u0jJuG2JC77zh333oSjrcr4OgixWEBOa0fsSJrxst7boiIhkKuqHO3vozSGZz1tn3UF9YK E9xLPYaN4ag7N/e+4ZWbMWUx+bqjKeUHonYlZHhVN99gqAot5IWURlz6NVmVuQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696973532; 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=hOaQfM4zFioarw34bWIjQOu6eQpt07BKCOQkpjNG9r8=; b=9ypB397RKJp/1beiZP02ejGrWpyMof0/7TL6u7wbGpCxtidEvNr4gnM+iBBWEmfa2gQ9sd cP7jfjmC3Au8bODQ== From: "tip-bot2 for Colin Ian King" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/headers: Remove comment referring to rq::cpu_load, since this has been removed Cc: Colin Ian King , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231010155744.1381065-1-colin.i.king@gmail.com> References: <20231010155744.1381065-1-colin.i.king@gmail.com> MIME-Version: 1.0 Message-ID: <169697353142.3135.4470853579884082496.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 10 Oct 2023 14:32:38 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779405748750881065 X-GMAIL-MSGID: 1779405748750881065 The following commit has been merged into the sched/core branch of tip: Commit-ID: 2616fdce9b8c7815d5578b28aea98595ebd0f290 Gitweb: https://git.kernel.org/tip/2616fdce9b8c7815d5578b28aea98595ebd0f290 Author: Colin Ian King AuthorDate: Tue, 10 Oct 2023 16:57:44 +01:00 Committer: Ingo Molnar CommitterDate: Tue, 10 Oct 2023 23:29:14 +02:00 sched/headers: Remove comment referring to rq::cpu_load, since this has been removed There is a comment that refers to cpu_load, however, this cpu_load was removed with: 55627e3cd22c ("sched/core: Remove rq->cpu_load[]") ... back in 2019. The comment does not make sense with respect to this removed array, so remove the comment. Signed-off-by: Colin Ian King Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20231010155744.1381065-1-colin.i.king@gmail.com --- kernel/sched/sched.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index faf9031..65cad0e 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -948,10 +948,6 @@ struct rq { /* runqueue lock: */ raw_spinlock_t __lock; - /* - * nr_running and cpu_load should be in the same cacheline because - * remote CPUs use both these fields when doing load calculation. - */ unsigned int nr_running; #ifdef CONFIG_NUMA_BALANCING unsigned int nr_numa_running;