{"push_id":1177044352,"size":1,"distinct_size":1,"ref":"refs/heads/miui","head":"ef32c35a8e42686726cd82729c83b4d56fcd7f7e","before":"abfc6f5474cc26bb45774c95a222008dbcac8fef","commits":[{"sha":"ef32c35a8e42686726cd82729c83b4d56fcd7f7e","author":{"name":"Joonwoo Park","email":"c8d71ca0229c96429b0e81dc3c959fd598c45475@codeaurora.org"},"message":"sched: prevent task migration while governor queries CPUs' load\n\nAt present, governor retrieves each CPUs' load sequentially.  In this\nway, there is chance of race between governor's CPU load query and task\nmigration that would result in reporting of lesser CPUs' load than actual.\n\nFor example,\nCPU0 load = 30%.  CPU1 load = 50%.\nGovernor                               Load balancer\n- sched_get_busy(cpu 0) = 30%.\n                                       - A task 'p' migrated from CPU 1 to\n                                         CPU 0.  p->ravg->prev_window = 50.\n                                         Now CPU 0's load = 80%,\n                                         CPU 1's load = 0%.\n- sched_get_busy(cpu 1) = 0%\n  50% of load from CPU 1 to 0 never\n  accounted.\n\nFix such issues by introducing a new API sched_get_cpus_busy() which\nmakes for governor to be able to get set of CPUs' load.  The loads set\ninternally constructed with blocking load balancer to ensure migration\ncannot occur in the meantime.\n\nSigned-off-by: Joonwoo Park <joonwoop@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/premaca/Xiaomi_Kernel_OpenSource/commits/ef32c35a8e42686726cd82729c83b4d56fcd7f7e"}]}
{"actor":{"display_login":"premaca"}}