patch inc_nr_running && dec_nr_running to update ave_nr_running