Merge "sched: ceil idle index to prevent from out of bound accessing"