On Mon, 19 Mar 2007 17:37:23 +0300
Oleg Nesterov <[EMAIL PROTECTED]> wrote:
> On 03/19, Eric Dumazet wrote:
> >
> > [...snip...]
> > do {
> > utime = cputime_add(utime, t->utime);
> > @@ -2040,6 +2045,8 @@ static void k_getrusage(struct task_stru
>
On Mon, 19 Mar 2007 17:37:23 +0300
Oleg Nesterov <[EMAIL PROTECTED]> wrote:
> (offtopic)
Well..., it *is* ontopic I'm afraid...
>
> We are reading u64 read_bytes/write_bytes which could be updated
> asynchronously.
> /proc/pid/io does the same.
>
> Of course, I don't blame this patch, just a
On 03/19, Eric Dumazet wrote:
>
> [...snip...]
> do {
> utime = cputime_add(utime, t->utime);
> @@ -2040,6 +2045,8 @@ static void k_getrusage(struct task_stru
> r->ru_nivcsw += t->nivcsw;
>
to accumulate inblock/oublock of terminated and waited-for
children, and terminated threads.
Thank you
[PATCH, take3] getrusage() : Fill ru_inblock and ru_oublock fields if possible
If CONFIG_TASK_IO_ACCOUNTING is defined, we update io accounting counters for
each task.
This patch permits reporting
to accumulate inblock/oublock of terminated and waited-for
children, and terminated threads.
Thank you
[PATCH, take3] getrusage() : Fill ru_inblock and ru_oublock fields if possible
If CONFIG_TASK_IO_ACCOUNTING is defined, we update io accounting counters for
each task.
This patch permits reporting
On 03/19, Eric Dumazet wrote:
[...snip...]
do {
utime = cputime_add(utime, t-utime);
@@ -2040,6 +2045,8 @@ static void k_getrusage(struct task_stru
r-ru_nivcsw += t-nivcsw;
On Mon, 19 Mar 2007 17:37:23 +0300
Oleg Nesterov [EMAIL PROTECTED] wrote:
(offtopic)
Well..., it *is* ontopic I'm afraid...
We are reading u64 read_bytes/write_bytes which could be updated
asynchronously.
/proc/pid/io does the same.
Of course, I don't blame this patch, just a stupid
On Mon, 19 Mar 2007 17:37:23 +0300
Oleg Nesterov [EMAIL PROTECTED] wrote:
On 03/19, Eric Dumazet wrote:
[...snip...]
do {
utime = cputime_add(utime, t-utime);
@@ -2040,6 +2045,8 @@ static void k_getrusage(struct task_stru
8 matches
Mail list logo