summaryrefslogtreecommitdiff
path: root/kernel/sched/debug.c
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2013-03-11 16:33:42 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:58:33 -0700
commit63249df6b26afebf6ad1b7b7385182c125c88477 (patch)
tree3d66f10ff0ff30ee6cea1361c7308ff66dc33ecc /kernel/sched/debug.c
parent82f6fb4f5c85f3842a65b15142ecd8378893dac4 (diff)
sched: provide per cpu-cgroup option to notify on migrations
On systems where CPUs may run asynchronously, task migrations between CPUs running at grossly different speeds can cause problems. This change provides a mechanism to notify a subsystem in the kernel if a task in a particular cgroup migrates to a different CPU. Other subsystems (such as cpufreq) may then register for this notifier to take appropriate action when such a task is migrated. The cgroup attribute to set for this behavior is "notify_on_migrate" . Change-Id: Ie1868249e53ef901b89c837fdc33b0ad0c0a4590 Signed-off-by: Steve Muckle <smuckle@codeaurora.org> [rameezmustafa@codeaurora.org: Use new cgroup APIs, fix 64-bit compilation issues and resolve some merge conflicts. Also squash "2bd8075 sched: remove migration notification from RT class" into this patch.] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> [joonwoop@codeaurora.org: Incorporated with new __migrate_task().] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions