Arjan van de Ven wrote:...On Fri, 30 Nov 2007 22:44:25 -0500
Mark Lord <lkml@xxxxxx> wrote:
all you need to do in your kernel module is call
..set_acceptable_latency("mark", 5);
and to remove the constraint again you just do
remove_acceptable_latency("mark");
......Then why not have a sysfs entry for scripts to write tsoro
to trigger the exact same end result? :)
that's what is in current -mm pretty much
well not sysfs, but it goes via a file descriptor
(so that if the process that sets the contraint dies, the latency
requirement can be given up automatically)
But doesn't that approach also make it nearly impossible to script ????