On Thu, Nov 19, 2020 at 1:44 PM Tao Zhou ouwen210@hotmail.com wrote:
[...] That time I realized something, but.. I try to remember something and get some impression.
We need to update the below when do not need to enqueue entity because this is added for runnable_avg updating,
update_load_avg(cfs_rq, se, UPDATE_TG); se_update_runnable(se);
Earlier version do not introduce the above to only update runnable_avg. Use one *for loop* is enough though. Please correct me if I am wrong.
Thanks a lot Tao! I'm not sure, I'm definitely not an expert in the scheduler. Will defer this one to Vincent / Peter / Phil / Ben. Cheers!