diff options
| author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2018-05-28 15:39:20 +0530 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-16 12:47:43 +0200 |
| commit | c7128748614ad0ca5bf9533ea9723bdd2ddf8838 (patch) | |
| tree | aab6941247408441ce0d7ad9944ecbea74ca614f /kernel/nsproxy.c | |
| parent | 6adb092856e806d91f3fc22dff0ef36506dd0bae (diff) | |
sched/cpupri: Exclude isolated CPUs from the lowest_mask
The cpupri_find() returns the candidate CPUs which are running
lower priority than the waking RT task in the lowest_mask. This
contains isolated CPUs as well. Since the energy aware CPU selection
skips isolated CPUs, no target CPU may be found if all unisolated CPUs
are running higher priority RT tasks. In which case, we fallback to
the default CPU selection algorithm and returns an isolated CPU. This
decision is reversed by select_task_rq() and returns an unisolated
CPU that is busy with other RT tasks. This RT task packing is desired
behavior. However, RT push mechanism pushes the packed RT task to
an isolated CPU. This can be avoided by excluding isolated CPUs from
the lowest_mask returned by cpupri_find().
Change-Id: I75486b3935caf496a638d0333565beffc47fe249
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'kernel/nsproxy.c')
0 files changed, 0 insertions, 0 deletions
