mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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 <[email protected]> [ [email protected]: fixes, cleanups ] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
b47e8608a0
commit
e107be36ef
4 changed files with 123 additions and 2 deletions
|
|
@ -63,3 +63,6 @@ config PREEMPT_BKL
|
|||
Say Y here if you are building a kernel for a desktop system.
|
||||
Say N if you are unsure.
|
||||
|
||||
config PREEMPT_NOTIFIERS
|
||||
bool
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue