lkml.org 
[lkml]   [2007]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] SCHED: Generic hooks for trapping task preemption
Ingo Molnar wrote:
> * Ingo Molnar <mingo@elte.hu> wrote:
>
>
>>> 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.
>>>
>> ok, this looks very clean, i've added it to my scheduler tree. You've
>> tested this with KVM, on both 32-bit and 64-bit, correct?
>>
>
> note: i've done a hook -> notifier rename - 'hook' is way too generic
> sounding and also slightly loaded. (updated patch below)
>
>

Okay, both i386 and x86_64 are happy (with the missing 'next' argument
added, but with the old hook name).

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-25 15:17    [W:0.051 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site