[Devel] [PATCH RHEL10 COMMIT] fixup! sched: show CPU stats for a cgroup in cpu.proc.stat file

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jun 5 21:32:06 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit c990d56b5f2e4b3642fc3990d830aaeb068a1cd4
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Tue Jun 2 21:10:31 2026 +0000

    fixup! sched: show CPU stats for a cgroup in cpu.proc.stat file
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
    Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
---
 include/linux/sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6db756a6fdb22..04285af753899 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2263,7 +2263,7 @@ static inline void link_ve_root_cpu_cgroup(struct cgroup_subsys_state *css)
 static inline void unlink_ve_root_cpu_cgroup(struct cgroup_subsys_state *css)
 {
 }
-static int cpu_cgroup_proc_stat_show(struct seq_file *sf, void *v)
+static inline int cpu_cgroup_proc_stat_show(struct seq_file *sf, void *v)
 {
 	return 0;
 }


More information about the Devel mailing list