sched_fair: improve fairness efficiency

Credits to faux123