forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched/topology: Introduce fallback LLC
On some systems, LLC sizes may be too small. Some of these systems may also support multiple cache access latency levels i.e between the previous LLC and waker LLC, there could be other LLCs that have a lesser cache access latency to waker LLC. If the waker LLC is busy, then scheduler could choose to scheduler a task on such LLC. Here is one approach to identity a static fallback LLC for each LLC for systems that support multiple cache access latency levels. In this approach, the fallback LLCs are decided at boot/CPU bring up time. There is a one-to-one mapping between the LLC and fallback LLC. The fallback LLC will only be used if wakeup is a sync wakeup and the current LLC is more busy than the fallback LLC. Also scheduler will not choose fallback LLC if the previous LLC has same cache access latency as fallback LLC. It is expected that fallback LLC has to be part of parent domain of LLC domain. Archs can choose to use fallback LLC by setting the SD_FALLBACK_LLC flag. Cc: LKML <linux-kernel@vger.kernel.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Gautham R Shenoy <ego@linux.vnet.ibm.com> Cc: Parth Shah <parth@linux.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Valentin Schneider <valentin.schneider@arm.com> Cc: Dietmar Eggemann <dietmar.eggemann@arm.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Vincent Guittot <vincent.guittot@linaro.org> Cc: Rik van Riel <riel@surriel.com> Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
- Loading branch information
1 parent
4f735d1
commit dcb7525
Showing
4 changed files
with
90 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters