2023-04-12 03:14:26

by Yan Yan(cailing)

[permalink] [raw]
Subject: [PATCH v1 0/3] correct printing for rq->nr_uninterruptible and some updates

The patch 1/3 coverts rq->nr_uninterruptible type from unsigned int to int
that prints negative numbers correctly. The rest patches are some little updates,
including updating the descriptions of commments, removing duplicate included headers.

Yan Yan (3):
sched/debug: use int type and fix wrong print for
rq->nr_uninterruptible
sched/debug: update description of print
sched: remove duplicate included headers psi.h

kernel/sched/build_utility.c | 1 -
kernel/sched/debug.c | 4 ++--
kernel/sched/loadavg.c | 2 +-
kernel/sched/sched.h | 2 +-
4 files changed, 4 insertions(+), 5 deletions(-)

--
2.32.0.3.g01195cf9f


2023-04-12 03:14:37

by Yan Yan(cailing)

[permalink] [raw]
Subject: [PATCH v1 2/3] sched/debug: update description of print

commit d27e9ae2f244 ("sched: Move /proc/sched_debug to debugfs")
moved /proc/sched_debug to /sys/kernel/debug/sched/debug without
updating the description. Here update it.

Signed-off-by: Yan Yan <[email protected]>
---
kernel/sched/debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
index 1637b65ba07a..c484c02f740b 100644
--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
@@ -8,8 +8,8 @@
*/

/*
- * This allows printing both to /proc/sched_debug and
- * to the console
+ * This allows printing both to /sys/kernel/debug/sched/debug
+ * and to the console
*/
#define SEQ_printf(m, x...) \
do { \
--
2.32.0.3.g01195cf9f

2023-04-12 03:17:33

by Yan Yan(cailing)

[permalink] [raw]
Subject: [PATCH v1 3/3] sched: remove duplicate included headers psi.h

Signed-off-by: Yan Yan <[email protected]>
---
kernel/sched/build_utility.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/sched/build_utility.c b/kernel/sched/build_utility.c
index 99bdd96f454f..80a3df49ab47 100644
--- a/kernel/sched/build_utility.c
+++ b/kernel/sched/build_utility.c
@@ -34,7 +34,6 @@
#include <linux/nospec.h>
#include <linux/proc_fs.h>
#include <linux/psi.h>
-#include <linux/psi.h>
#include <linux/ptrace_api.h>
#include <linux/sched_clock.h>
#include <linux/security.h>
--
2.32.0.3.g01195cf9f