Seriously people, trim your replies. On Tue, Mar 21, 2017 at 03:08:20PM +0000, Patrick Bellasi wrote:
> And than we can move this bit into an inline function, something like e.g.: > > static inline bool sugov_this_cpu_is_busy() > { > return this_rq()->rd->overloaded > } No, that's just entirely and utterly wrong. It being in rd means its very much not about _this_ CPU in any way.