Re: [PATCH][retry 1] Add support for Pause Filtering to AMD SVM

Avi Kivity
2009-05-11T15:06:33Z

Peter Zijlstra wrote:
>>> This really needs a new kernel-internal scheduler API though, which
>>> does a lot of fancy things to do:
>>>
>>> se->vruntime += 1000000;
>>>
>>> i.e. add 1 msec worth of nanoseconds to the task's timeline. (first
>>> remove it from the rbtree, then add it back, and nice-weight it as
>>> well)
>>>
>> I suspected it would be as simple as this.
>>
>
> Is that thread guaranteed to run as SCHED_OTHER?
>

No, it's user specified. But if it isn't SCHED_OTHER, we don't mind if
it spins (and we hope realtime systems aren't overcommitted).

--
error compiling committee.c: too many arguments to function