{"push_id":979268656,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"cec11756fa3d2faee0b88a9383586fcbfbcd346a","before":"a0ff07637cf78cc4350ce7e34fc627e895e8f6ec","commits":[{"sha":"cec11756fa3d2faee0b88a9383586fcbfbcd346a","author":{"email":"69d4c67d027719823df1f8f9226c47bc05dc8998@codeaurora.org","name":"Srivatsa Vaddagiri"},"message":"sched: Fix bug in average nr_running and nr_iowait calculation\n\nsched_get_nr_running_avg() returns average nr_running and nr_iowait\ntask count since it was last invoked. Fix several bugs in their\ncalculation.\n\n* sched_update_nr_prod() needs to consider that nr_running count can\n  change by more than 1 when CFS_BANDWIDTH feature is used\n\n* sched_get_nr_running_avg() needs to sum up nr_iowait count across\n  all cpus, rather than just one\n\n* sched_get_nr_running_avg() could race with sched_update_nr_prod(),\n  as a result of which it could use curr_time which is behind a cpu's\n  'last_time' value. That would lead to erroneous calculation of\n  average nr_running or nr_iowait.\n\nWhile at it, fix also a bug in BUG_ON() check in\nsched_update_nr_prod() function and remove unnecessary nr_running\nargument to sched_update_nr_prod() function.\n\nChange-Id: I46737614737292fae0d7204c4648fb9b862f65b2\nSigned-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>\n\nConflicts:\n\n\tkernel/sched/fair.c\n\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","distinct":true,"url":"https://api.github.com/repos/DevriesL/SM-G9208_ImageBreaker/commits/cec11756fa3d2faee0b88a9383586fcbfbcd346a"}]}