Thread (5 messages) 5 messages, 3 authors, 2021-06-10

Re: [PATCH v4] sched/fair: Correctly insert cfs_rq's to list on unthrottle

From: Odin Ugedal <hidden>
Date: 2021-06-07 13:38:09
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help