Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1012880lql; Tue, 12 Mar 2024 05:10:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSdhO02BwvKx7SG0fSEac3cxdeROAAMncZBbBQ753BiiKvdQtLd6dTeJ1tI6PZBOx3UnysFj/XYUhWV7/BJ7bhhU3NwchvY98l7mqwTQ== X-Google-Smtp-Source: AGHT+IG3M1EOEbP7yUnltpGYmCLfccMIbgKu5Z9A+8QZ7MbeF5b0EeeRQQVFRpueYM49WeQnwxza X-Received: by 2002:a17:902:e54c:b0:1dd:8ed:997d with SMTP id n12-20020a170902e54c00b001dd08ed997dmr13709904plf.3.1710245448867; Tue, 12 Mar 2024 05:10:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710245448; cv=pass; d=google.com; s=arc-20160816; b=Z9O4CrcFNQWQ2YjE795TL5bFCeUxFrCzDi4RByYIS6Jek6ciSK+0AC0pFV9qKAXl9T rZL4yvODlEnUYQ7dZrjnEfgbGKqgWDifKalEOD9uDy9f8B9zQlCX/ORbb69lBpEndE/H KALYGuIEHrfCnYaHTwUSLE9zvkCZp8/Xu/jqFRoVyznw2y08iJM2SBlVUSCzO2spvnnH LxIalb7RGmCGXPkucOKSYZdXmx4zuuiEALgkLmAtPg+HjGzStWBumZOho8lotI8hhcV3 /VtrjeQEnrCOoGUjG9kRB873tIHmlabLCNYDPtJGZwi7bNVZ/KUgVS553G/whLpUdSuF AV5g== ARC-Message-Signature: i=2; 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=/3RiHZw+U0mXje298dnhrqWJlWLc0A9UEO7xEmPwn8Y=; fh=UcKTMxfS51XTtlNnwQnrgkMZBxN3TluNKKEuEQAqrsQ=; b=VkND9ryOnWL99rKYPYTqn91xIvul9KAAIJ0BEr+zGbJXhhMpQ6BkX+sDDChZ1sWBou zW+Xu9iUmupXTZpSkmbATixhZrHTFq1aKY7uI1gOiGBoBpBrlQTQruW3QZHfd89HBeTn ay41BpWjhM8gdnsvt+Z0TphRH00c673tSQZf2wow2j/+o0bbOFBgWxejGRYaFpZELW97 nMNnpHB3gVb5X0PbqbV1iJMyRV4MXuEGu1cSmnJ22M2o/mrok2nzwN73gKpuuF3NqTNq 4s2pU66x50gdCSkJcl+thCPeamuMwB59VnnlfuWJ2oS1THL9XxWxBDnRH+BEBLRIpW4L hFGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=W5HQrFWy; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=vmRL9Goa; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-100220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100220-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j18-20020a170902da9200b001dd925a1105si4597170plx.477.2024.03.12.05.10.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 05:10:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=W5HQrFWy; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=vmRL9Goa; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-100220-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100220-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 43BF3B22D0D for ; Tue, 12 Mar 2024 12:05:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 174337F482; Tue, 12 Mar 2024 12:00:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="W5HQrFWy"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="vmRL9Goa" 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 7C88B7D419; Tue, 12 Mar 2024 12:00:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244837; cv=none; b=lPsy61I5q5JD2SfRqMaHaPwPkjd8Ek1IRFITIR1QM2Uh8cbZALf4n4S+wm7OSMaAhXjqgdDNydRePk629gTqH2gRxS6OX9mHxbu67goi/HniZii7iWB6OKVVzZ78a/CWr506UyLZuzS62d4HDqJqbOMW11NoPdxx74m2jpoTAWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244837; c=relaxed/simple; bh=/00RjYrsrxinw17MPlI4YieqUEuyacXeNwjD3OAEDOc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=lCm2ym33G+euVkO9hjNRR+DkhsY152cPqHDBsJLjlYl62IyxRlUFQc2dA0AU1+In9MxlMwlvTvu/BFGS5nrqJNGsUtVyfTe2KHM5iwdxlUmDKxJnydSJ7f2nAl4+eeRYx4mjn/X2d/2wjPbaj3RuHsumkDzB53dpwUupbasYkVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=W5HQrFWy; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=vmRL9Goa; arc=none smtp.client-ip=193.142.43.55 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: Tue, 12 Mar 2024 12:00:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710244834; 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=/3RiHZw+U0mXje298dnhrqWJlWLc0A9UEO7xEmPwn8Y=; b=W5HQrFWyuVY8x+klraGqovuhpUD47+bkW08/NG2IWdJ6Hb5nsqUBenC7KMUd6iXTrJ4VZI WygoDMTxBnyOeAsym8TxbgNjoFDtdws5F2Y5FzTIBGQHhTAUpW6J0mzWrX5vpEV3Dibnd6 hCM/H95bD3l+jqJKAK1mAeC29NVkpznkb2SISwWEzsojXr/UWbpQ4HpeemRDtBBifpa2BC Q9YvgWQeWeLG8SMpvd6DizxiSCklS0pBN8bLXYejmNKWWE7m3WIrsJySnr+r4uQ51YUEdR rHeAS/UcZ2fbJJ4+wWjX3Kxgg42D833QpQRNyAeAXv3+gorfswo0cTQPWXgshg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710244834; 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=/3RiHZw+U0mXje298dnhrqWJlWLc0A9UEO7xEmPwn8Y=; b=vmRL9Goa2xIElll+fsm5cPUftOrSKczCh2RAJUVY9GKefKZmqN/lhmQhIF08ZYxngPA1rN 1f+U3DUlkUOWoACg== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/debug: Increase SCHEDSTAT_VERSION to 16 Cc: Shrikanth Hegde , Ingo Molnar , "Gautham R. Shenoy" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240308105901.1096078-5-mingo@kernel.org> References: <20240308105901.1096078-5-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171024483328.398.6941352291284639957.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: 11b0bfa5d463b17cac5bf6b94fea4921713530c3 Gitweb: https://git.kernel.org/tip/11b0bfa5d463b17cac5bf6b94fea4921713530c3 Author: Ingo Molnar AuthorDate: Fri, 08 Mar 2024 11:58:55 +01:00 Committer: Ingo Molnar CommitterDate: Tue, 12 Mar 2024 11:03:40 +01:00 sched/debug: Increase SCHEDSTAT_VERSION to 16 We changed the order of definitions within 'enum cpu_idle_type', which changed the order of [CPU_MAX_IDLE_TYPES] columns in show_schedstat(). Suggested-by: Shrikanth Hegde Signed-off-by: Ingo Molnar Cc: "Gautham R. Shenoy" Link: https://lore.kernel.org/r/20240308105901.1096078-5-mingo@kernel.org --- Documentation/scheduler/sched-stats.rst | 5 +++++ kernel/sched/stats.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/scheduler/sched-stats.rst b/Documentation/scheduler/sched-stats.rst index 03c0629..73c4126 100644 --- a/Documentation/scheduler/sched-stats.rst +++ b/Documentation/scheduler/sched-stats.rst @@ -2,6 +2,11 @@ Scheduler Statistics ==================== +Version 16 of schedstats changed the order of definitions within +'enum cpu_idle_type', which changed the order of [CPU_MAX_IDLE_TYPES] +columns in show_schedstat(). In particular the position of CPU_IDLE +and __CPU_NOT_IDLE changed places. The size of the array is unchanged. + Version 15 of schedstats dropped counters for some sched_yield: yld_exp_empty, yld_act_empty and yld_both_empty. Otherwise, it is identical to version 14. diff --git a/kernel/sched/stats.c b/kernel/sched/stats.c index 8527795..78e48f5 100644 --- a/kernel/sched/stats.c +++ b/kernel/sched/stats.c @@ -113,7 +113,7 @@ void __update_stats_enqueue_sleeper(struct rq *rq, struct task_struct *p, * Bump this up when changing the output format or the meaning of an existing * format, so that tools can adapt (or abort) */ -#define SCHEDSTAT_VERSION 15 +#define SCHEDSTAT_VERSION 16 static int show_schedstat(struct seq_file *seq, void *v) {