Quantcast
Channel: lkml.org : Vaidyanathan Srinivasan
Viewing all articles
Browse latest Browse all 890

[PATCH 1/3] sched: Fix nohz_kick_needed to consider the nr_busy of ...

$
0
0
Vaidyanathan Srinivasan writes: (Summary) With the current implementation of nohz_kick_needed(), at this domain(sd), the nr_busy will be 1 always since it returns this parameter for sd->groups which encompasses a single thread, while we want this parameter for sd->parent->groups which will rightly point to the number of busy threads in the core.

This patch also ensures that the order of check for SD_SHARE_PKG_RESOURCE comes before the check for ASYM_PACKING. + + if (sd_parent) { + sg = sd_parent->groups;

Viewing all articles
Browse latest Browse all 890

Trending Articles