diff options
| author | Olav Haugan <ohaugan@codeaurora.org> | 2016-05-31 14:34:46 -0700 |
|---|---|---|
| committer | Olav Haugan <ohaugan@codeaurora.org> | 2016-09-24 10:55:17 -0700 |
| commit | e33c24bfecde67d7d665bfcf90c7d4c2f231be79 (patch) | |
| tree | 214f33b025659de2c48a5fa2e64135c3acb56f27 /kernel/power/hibernate.c | |
| parent | 3fe956359cd3f1cd174285b693b424f89123ff96 (diff) | |
sched: add cpu isolation support
This adds cpu isolation APIs to the scheduler to isolate and unisolate
CPUs. Isolating and unisolating a CPU can be used in place of hotplug.
Isolating and unisolating a CPU is faster than hotplug and can thus be
used to optimize the performance and power of multi-core CPUs.
Isolating works by migrating non-pinned IRQs and tasks to other CPUS and
marking the CPU as not available to the scheduler and load balancer.
Pinned tasks and IRQs are still allowed to run but it is expected that
this would be minimal.
Unisolation works by just marking the CPU available for scheduler and
load balancer.
Change-Id: I0bbddb56238c2958c5987877c5bfc3e79afa67cc
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'kernel/power/hibernate.c')
0 files changed, 0 insertions, 0 deletions
