2004-09-02 21:37:46

by Roland McGrath

[permalink] [raw]
Subject: Re: [PATCH] fix rusage semantics

I have no special opinions about what /proc files should report.
That has always been all quite ill-specified as far as I'm concerned.

> In an ideal world, I think /proc/PID/stat would report aggregate resource
> usage for the process, and /proc/PID/task/TID/stat would have resource
> usage for individual threads (in case anyone cares). I'm including a
> patch against 2.6.9-rc1-bk9 that does just that.

Sounds fine to me.


Thanks,
Roland