clamp priority value between PRI_MIN, PRI_MAX
Add recent_cpu and load_avg