On Tue, 2 Sep 2008 12:04:39 +0200
Pavel Machek <pavel@suse.cz> wrote:
Yes it would be nice to have new syscalls for this
and no, nobody and nothing would use them.
THe really big advantag of this default-from-task-struct is that you
can have a program similar to "nice" that allows you to run an existing
program at a specified granularity (say, a version of acroread that has
a really high wakeup count but you still want to save power)
of course these are per thread.. they're in the task struct after all
prctl() is ugly?
... which nobody uses today.
It's not just new syscalls, it's a new glibc api as well at that point.
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--