[tip:,sched/core] sched/headers: Remove comment referring to rq::cpu_load, since this has been removed
Message ID | 169697447356.3135.18063293604947285416.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp154397vqb; Tue, 10 Oct 2023 14:48:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHau9Un82yUCh+JVJLtrX3ZhU7KqylYbqwglcpVipp+D6Y0HoWoi51XWJCrOrYjfRLDV2Z4 X-Received: by 2002:a05:6808:f09:b0:3ae:108d:acee with SMTP id m9-20020a0568080f0900b003ae108daceemr23233541oiw.1.1696974496376; Tue, 10 Oct 2023 14:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696974496; cv=none; d=google.com; s=arc-20160816; b=AYU4aJYHLpQ488rQjvWLskZxAlHbo+x9x9O/WwukIkFMVw0LwsuSrUgxN0KsUVyuG6 1X2QXk5Ej0ggWsrvouUM8nH2FJyzymLlVPP08+DKyZqw8EjkjLKzdvY6ihCkXPWoZDu3 je0NnRrvAwKeoiatwZ3w6RZnrvwjAiHy+wqlziRsnrJdrkZeP5QEFCczgxQU9+RIyGxj QNdDLYfa+vuDFeptwmfHzGvjTg/L0t0Y3LtfH4YZ/tH1/VXqbPALJCe5av+nzQlwn4z1 lFskkygOzHL996M5WjTVFGM8eJZMtRZPW3bj1l9f2qCOafLlt1ke6c/kj/9/Pi/fRy8m f7XA== 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=lBIwsLIGsV1PbJPfRcNGsZxdG0JVwlvbNLWv4wvA8DY=; fh=/vv2oMcWDWnbqSotyTz9g5rFUGcsFzPKb7ZYknTlZas=; b=BHdi0LZv8RiPhhVSGb+CPzp5IJ6vhm0sLivesAGtSTXgBzmBfL4H82KuFs1herwANF 18X+/TceK3fY7feHuZBBlHVRFhbZsz43quRaKnLAlRj5BeQzX7se5fBvMQNwI2s/KlJI IUpnRe9I6Zgb4OTEmi9aL0khdRm5Kbb9U/x1DaFrCYQaTGbfQDtvpTJ7Dur6HiF9sx1S u1Q933kKLG/rf7Byp7vbmAHQdlO4u9C2vWv3Lk1zVrG524AVR9N7b+dr8S+o3oy4Qie3 k8o9N9Sg9pp8Dz9dGbNc/fC3VUrkoNdW5SH7oQRZCTCIaXEw5UKrED46eEZ6VhM+GGIS xt1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Z6mCbP16; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id j185-20020a638bc2000000b00589884fef91si10817649pge.740.2023.10.10.14.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 14:48:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Z6mCbP16; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 7E95D8023884; Tue, 10 Oct 2023 14:48:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231138AbjJJVr6 (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Tue, 10 Oct 2023 17:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbjJJVr5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Oct 2023 17:47:57 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC91599; Tue, 10 Oct 2023 14:47:55 -0700 (PDT) Date: Tue, 10 Oct 2023 21:47:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696974474; 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=lBIwsLIGsV1PbJPfRcNGsZxdG0JVwlvbNLWv4wvA8DY=; b=Z6mCbP16Vy4I8FAjMnVt9Y+N32eRt19XhGNagGwyvlqEYPy2ncireZBUZJA3Q82mdFUYrQ pVfKTMQ+3jOLOO2DQIYFR34Io28QOi129eSl48NNZL4gOoC1EpsO8rR3kj/b2kpqY9P513 M63u8rHoE2j1AOLFT2c79l3kToirw4k7GeUqCFzw3CbKdJEqiT7eZ3TV47csWdTZdhh/mJ 2PNiyO4BUG3sz8978RsoFJsj3I5r/+a2SuiiD98NZxBGI56k5hzbf1QnIAeEGEwXTUePIO iWEAizBc/O8c9eEuH9c14PHAJR7o28SUl5q8dS6dD3CEdjP7xbWEFayLda7ybg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696974474; 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=lBIwsLIGsV1PbJPfRcNGsZxdG0JVwlvbNLWv4wvA8DY=; b=c55l/3ZXsPJTRIJNL0S6gjli2DSE2yeyXnGPIRJMiZrP0VFV6pybhlhADs8UciatlszHk0 zvZy9bcx3pY1MZCw== From: "tip-bot2 for Colin Ian King" <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/headers: Remove comment referring to rq::cpu_load, since this has been removed Cc: Colin Ian King <colin.i.king@gmail.com>, Ingo Molnar <mingo@kernel.org>, 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: <169697447356.3135.18063293604947285416.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=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 pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 10 Oct 2023 14:48:09 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779405748750881065 X-GMAIL-MSGID: 1779406729712101582 |
Series |
[tip:,sched/core] sched/headers: Remove comment referring to rq::cpu_load, since this has been removed
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Oct. 10, 2023, 9:47 p.m. UTC
The following commit has been merged into the sched/core branch of tip: Commit-ID: b19fdb16fb2167c6bc9ee8fbc0c1d2d4fd3e2eb8 Gitweb: https://git.kernel.org/tip/b19fdb16fb2167c6bc9ee8fbc0c1d2d4fd3e2eb8 Author: Colin Ian King <colin.i.king@gmail.com> AuthorDate: Tue, 10 Oct 2023 16:57:44 +01:00 Committer: Ingo Molnar <mingo@kernel.org> CommitterDate: Tue, 10 Oct 2023 23:42:20 +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 <colin.i.king@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> 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;