Re-sort ready_list when priorities update + PRI_UPDATE_FREQ #17
Reference in New Issue
Block a user
No description provided.
Delete Branch "gleb/fix-bsd-ready-list-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ready_listafter updating all the priorities. Expensive, but no way around it I think.happen to be set the same.
approved this merge request
LGTM!
We had a function to resort the ready list that was then removed as it turned out it was not necessary in our case.
It is also a good bet to resort even if it was unnecessary as O(n log n) will be better than repeated O(n) for large enough number of n.
mentioned in commit
af31968e67