[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A083EE4.6000607@redhat.com>
Date: Mon, 11 May 2009 18:06:12 +0300
From: Avi Kivity <avi@...hat.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC: Ingo Molnar <mingo@...e.hu>,
Mark Langsdorf <mark.langsdorf@....com>,
Joerg Roedel <joerg.roedel@....com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][KVM][retry 1] Add support for Pause Filtering to AMD
SVM
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists