On Wed, Nov 07, 2007 at 03:28:33PM -0800, Andrew Morton wrote:
The strange -1 behavior is enshrined in history. I think a better answer
is to tell people to use getrusage() if they want a return result without
this problem.
Adding INITIAL_JIFFIES will fix the case where an embedded system is booted
up to run a test and then shut down, and the mask, although it causes
discontinuities periodically at least moves them away from the early boot.
INITIAL_JIFFIES was a good idea, but it is probably best to keep it inside
of the kernel.
David Brown
-