Re: Sending some form of notifaction when sched_fifo throttling kicks in...

From: Dhaval Giani
Date: Thu Dec 23 2010 - 09:04:25 EST


?
>>
> ... If you think you're fine with some /proc (and perhaps cpuacct, if
> cgroups are being used) readable, I can try to come up with something.
>

There is no point in putting it in cpuacct since cpuacct can be used
separately from cpu.

> I think that the number of times that throttling fired and the last
> throttling instant could be exported this way without much issues.
>
> Do others have some idea and/or comments about that? This is
> ABI/interface, and that really scares me! :-P

IIRC, your patchset had something like this for getting the
statistics? Starting fromt hre, would schedstats be the right place?

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