> It's not the best place for this function: > - pelt.h header file is included below but cfs_rq_is_decayed() uses PELT > - CONFIG_SMP is already defined few lines below > - cfs_rq_is_decayed() is only used with CONFIG_FAIR_GROUP_SCHED and > now with CONFIG_CFS_BANDWIDTH which depends on the former > > so moving cfs_rq_is_decayed() just above update_tg_load_avg() with > other functions used for propagating and updating tg load seems a > better place Ack. When looking at it now, your suggestion makes more sense. Will fix it. Thanks Odin