[Devel] [PATCH rh8 4/6] ve/sysinfo/loadavg: Virtualize loadavg values in sysinfo()
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Oct 22 15:54:50 MSK 2020
Fixes: 688c65f8eaf1 ("ve: Virtualize sysinfo")
TODO: move appropriate hunk to this commit from the commit above
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
kernel/sys.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index 2646c8041258..e7e07ea8d7ef 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -2575,11 +2575,7 @@ static int do_sysinfo(struct sysinfo *info)
info->procs = nr_threads_ve(ve);
-#if 0
-FIXME after
-715f311fdb4a ("sched: Account task_group::cpustat,taskstats,avenrun") is ported
get_avenrun_ve(info->loads, 0, SI_LOAD_SHIFT - FSHIFT);
-#endif
}
/*
--
2.28.0
More information about the Devel
mailing list