aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDario Faggioli <[email protected]>2013-11-07 14:43:35 +0100
committerIngo Molnar <[email protected]>2013-11-27 14:08:50 +0100
commite6c390f2dfd04c165ce45b0032f73fba85b1f282 (patch)
treeb98a8e422ba770e4be78e2b51bf1120122d0394f /include
parent380c9077b38df2962a22f00f21f6cd0db62d3390 (diff)
sched: Add sched_class->task_dead() method
Add a new function to the scheduling class interface. It is called at the end of a context switch, if the prev task is in TASK_DEAD state. It will be useful for the scheduling classes that want to be notified when one of their tasks dies, e.g. to perform some cleanup actions, such as SCHED_DEADLINE. Signed-off-by: Dario Faggioli <[email protected]> Reviewed-by: Paul Turner <[email protected]> Signed-off-by: Juri Lelli <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions