commit | e107be36efb2a233833e8c9899039a370e4b2318 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Thu Jul 26 13:40:43 2007 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jul 26 13:40:43 2007 +0200 |
tree | 655955aa81aefeff441c412adaafe9b51a00ff56 | |
parent | b47e8608a08766ef8121cd747d3aaf6c3dc22649 [diff] |
[PATCH] sched: arch preempt notifier mechanism This adds a general mechanism whereby a task can request the scheduler to notify it whenever it is preempted or scheduled back in. This allows the task to swap any special-purpose registers like the fpu or Intel's VT registers. Signed-off-by: Avi Kivity <avi@qumranet.com> [ mingo@elte.hu: fixes, cleanups ] Signed-off-by: Ingo Molnar <mingo@elte.hu>