sched: max cost

Signed-off-by: Lens-F <tnoah12@gmail.com>