TTM's role in score-based eviction

Marek Olšák maraeo at gmail.com
Tue Dec 10 03:14:21 PST 2013


On Tue, Dec 10, 2013 at 1:49 AM, Michel Dänzer <michel at daenzer.net> wrote:
> On Mon, 2013-12-09 at 23:45 +0100, Marek Olšák wrote:
>> On Mon, Dec 9, 2013 at 9:30 PM, Lauri Kasanen <cand at gmx.com> wrote:
>> >
>> > Note that the hotness calculation will be in userspace, as only there
>> > are the necessary counters available. So the finished hotness score
>> > will be passed to the kernel, instead of sending all the necessary data
>> > there. Ought to be less context switches that way.
>
> Sounds like this could be abused by userspace though...

Anything can be abused by userspace, but is there any security risk? I
don't think so. The CS ioctl is way more dangerous than this.

Marek


More information about the dri-devel mailing list