From nobody Sun Feb 8 13:38:46 2026 Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D14021F63CD for ; Fri, 17 Jan 2025 02:23:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737080620; cv=none; b=ftzTtdE+pUyMUAvRRH3n3pMEUYjUbinrvJotam7KKnsrQ4Ofqu0XC5q9DxJjRFgqtT7LBTvnFXG50/ZjS714+V0FhIVwYm1/rb7YFGH7hwDbaMmt3zGv2CwL+3mfmDwuqeAPChMJHjKm2H1oe8RF0Nz9offPZiv387y+0+UjicQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737080620; c=relaxed/simple; bh=AK0wMMXL4ZFPePR7+lmNu1mJL+3wGt5mdSheOB3l5Yk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=k7Zb2/Iqw3LZTJdYM4RqRKf0xNujDRT8g7PiU8kmdo5Wma1c6VZ3owciRRep5Y7MdNjdV7Rha10NKcmOmC/ps5/Ri6dX3PMep+64vCSFStBbV3UEeNWI8h5k6TZrTxF08sqF4jmP+ON/LN9woZAx7M6eSVIcw7o8nAsscOxxBws= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=RxPWnN08; arc=none smtp.client-ip=209.85.214.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RxPWnN08" Received: by mail-pl1-f194.google.com with SMTP id d9443c01a7336-21619108a6bso26398785ad.3 for ; Thu, 16 Jan 2025 18:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737080618; x=1737685418; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rZzrVn9GqwOd9YKyuutz/+rgiDIT4boPZC+o0tRFu/g=; b=RxPWnN08aTro6dVY+uVSMtb1nJPW/Icn8SYccwPORUHgGILhHOkJWywbXtFNollrXZ RXfsAJD5uy0Ecct9XYowtYJekGc+NLejpZfh09kJ+nK079aBIWFNlJWNz2iZhyFYKapj HeKIIl2NmWwccLElUydZkwSiL1IcxGWaZv/0Ot3YeOHE3B/Pvg9883FE1bKLo2gLMooh iy9LwyJBHrkDP/KS3emZPk02zRjFV1GkNQvafimCR30k+szJBCdt7heGsKSvSA5FOqZ4 nNOXte7La2dPZkhC5Hs42B1lIBZHtxREGBntUafeYF4w2uJwuxCS+epewzyviIItjfQm xzAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737080618; x=1737685418; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rZzrVn9GqwOd9YKyuutz/+rgiDIT4boPZC+o0tRFu/g=; b=kETA+7kBfq5+2yrZCche3TDWRdH2sd+CMr27D6vK7LKwJ1rOci5Nb2kuQp6MLQVuRi IoaaFqvEHV49elhoXANKORfFn9pj8Gf0CY2Z8ctWh7khP+LkkvZfy+Kbfr3t+lVoHA4K KUNMcMN1qHKZV1LhfCXIoOid4YLR9CFJPBxfoUImzA7caGUl9Kvj5H25+4B7q1ZmNaNI T2GXSLMwbnd2K4MhXqU3luvXv0pRkxNFYfzld0rHfeocLAdow6hW9B2YayrauvbB27ud LBsYELVo++AaHDG/SF5XgarlRuIhBeCxIB93tVS16yE/UfoZWy6u9KcvM1YvoqLZsDkm m6Pg== X-Gm-Message-State: AOJu0YywFnA9MFo34u7+LXiI8RcdAFguqAM1+6hvVOBQwFY0jxTWEla/ bTuBL9kYLk8wPO2c+C7fXWozE/2R1A0V6HRtzRollh4zBbj+7lcd X-Gm-Gg: ASbGncsemPjf92eJCrQRBIwxl3NJ9gIgldybEfdbmz0cGAjR37cT57IAx1Pn7C9Qa24 819mEtUWTPLPaQwHMx5yn89udUrZFWleiSePJZGKjpkpUiy70UUw8V1kDGgWbE5ED8M9xHEIBF0 ClI+7jXylsPlOIlWMJHZeeGgHQxI8Mq2v8kaMfo0/p6KtAYxpH77zwW55sRx58p+Wi9zx0HNNAa TzaUwOc1x4S4TVFq+Oolm/nUV/K6TFpSN7tsFMSlzQKy3m+3j2Zo5bsJGkwcFlZoRIS/WOyimGp X-Google-Smtp-Source: AGHT+IH+OAeJ/RhppNlctigg97tcNLZfDzdYdc6cap1wjMRVAxxPAm0oFu997fSpvJ4tB6BAmDSAKg== X-Received: by 2002:a17:902:cf0b:b0:216:2dc5:233c with SMTP id d9443c01a7336-21c355c8f76mr17925715ad.41.1737080618196; Thu, 16 Jan 2025 18:23:38 -0800 (PST) Received: from localhost.localdomain ([114.67.205.189]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2ceb735esm6415575ad.64.2025.01.16.18.23.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 18:23:37 -0800 (PST) From: zihan zhou <15645113830zzh@gmail.com> To: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com Cc: linux-kernel@vger.kernel.org, zhouzihan30@jd.com, zihan zhou <15645113830zzh@gmail.com>, yaozhenguo , yaowenchao1 Subject: [PATCH V1] sched/debug: change "runnable tasks" to "Tasks on cpu" on sched debug Date: Fri, 17 Jan 2025 10:22:55 +0800 Message-Id: <20250117022254.16521-1-15645113830zzh@gmail.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" In sched debug file /sys/kernel/debug/sched/debug, there is a "runnable tasks" table, but not all tasks in the table are runnable. It is inappropriate to refer to this table as "runnable tasks", so here it is changed to "Tasks on CPU %d", like: Tasks on cpu 31: S task PID vruntime eligible deadline =20 -------------------------------------------------------------------- S cpuhp/31 173 0.803286 E 2.153245 =20 S migration/31 174 8.167468 E 11.167468 =20 PS For the sake of clarity in reality, some table information has been omitted here. Signed-off-by: zihan zhou <15645113830zzh@gmail.com> Signed-off-by: yaozhenguo Signed-off-by: yaowenchao1 --- kernel/sched/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index a1be00a988bf..687487128400 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -771,7 +771,7 @@ static void print_rq(struct seq_file *m, struct rq *rq,= int rq_cpu) struct task_struct *g, *p; =20 SEQ_printf(m, "\n"); - SEQ_printf(m, "runnable tasks:\n"); + SEQ_printf(m, "Tasks on cpu %d:\n", rq_cpu); SEQ_printf(m, " S task PID vruntime eligible " "deadline slice sum-exec switches " "prio wait-time sum-sleep sum-block" --=20 2.33.0