Re: [patch] change futex_wait() to hrtimers

From: Andi Kleen
Date: Mon Mar 12 2007 - 10:22:38 EST


> This becomes especially important if we want the tickless code to
> really shine as far as power management is concerned. Unfortunately,
> the POSIX timer abstraction doesn't give this kind of flexibility
> easily, so it's going to be a while before we see significant
> userspace adoption of such a kernel feature, but I think it's
> something that would be still worthwhile to add.

I suspect it would be overkill to specify that on every sleep operation.
99% of applications won't care and for the 1% leftover a global per
process setting should be fine.
I think a single prctl() and a global sysctl as default would be enough.

-Andi

-
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/