The commit is pushed to "branch-rh8-4.18.0-193.6.3.vz8.4.x-ovz" and will appear 
at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-193.6.3.vz8.4.15
------>
commit 56c2e80177276c8044704140d098d206edfd2694
Author: Konstantin Khorenko <khore...@virtuozzo.com>
Date:   Wed Oct 28 15:47:31 2020 +0300

    sched: Fix task_group "iowait_sum" statistic accounting
    
    Signed-off-by: Konstantin Khorenko <khore...@virtuozzo.com>
    Reviewed-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
 kernel/sched/fair.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 23a2f2452474..6546d8511417 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -1053,7 +1053,8 @@ update_stats_enqueue_sleeper(struct cfs_rq *cfs_rq, 
struct sched_entity *se)
                                                delta >> 20);
                        }
                        account_scheduler_latency(tsk, delta >> 10, 0);
-               }
+               } else
+                       __schedstat_add(se->statistics.iowait_sum, delta);
        }
 }
 
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to