Re: [PATCH] getrusage sucks

From: dean gaudet
Date: Fri Nov 11 2005 - 18:49:35 EST


On Sat, 12 Nov 2005, Claudio Scordino wrote:

> >
> > In which case the only comment I have is the one about accuracy - and
> > that is true for procfs too so will only come up if someone gets the
> > urge to use perfctr timers for precision resource management
>
> According to your comments, this the final patch.

this only lets you get RUSAGE_SELF data for the target... for many
processes it's more important to get the RUSAGE_CHILDREN data... and
really i'm having a hard time imagining a use for this code which on
further inspection doesn't eventually blow up to the requirements of a
proper accounting subsystem... (of which i understand there are two or
three competining implementations in progress?)

do you have a use case for this new code?

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