From: Avi Kivity Date: Thu, 26 Jul 2007 11:40:43 +0000 (+0200) Subject: [PATCH] sched: arch preempt notifier mechanism X-Git-Tag: v2.6.23-rc2~191^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e107be36efb2a233833e8c9899039a370e4b2318;p=pandora-kernel.git [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 [ mingo@elte.hu: fixes, cleanups ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed