From: Andrew Morton <akpm@osdl.org>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: linux-kernel@vger.kernel.org, Jay Lan <jlan@engr.sgi.com>
Subject: Re: [PATCH] task_struct: remove writeonly counters
Date: Mon, 31 Jul 2006 21:01:07 -0700 [thread overview]
Message-ID: <20060731210107.89cab506.akpm@osdl.org> (raw)
In-Reply-To: <20060801022951.GB7006@martell.zuzino.mipt.ru>
On Tue, 1 Aug 2006 06:29:51 +0400
Alexey Dobriyan <adobriyan@gmail.com> wrote:
> ...
>
> +++ b/include/linux/sched.h
> @@ -962,8 +962,6 @@ #endif
> * to a stack based synchronous wait) if its doing sync IO.
> */
> wait_queue_t *io_wait;
> -/* i/o counters(bytes read/written, #syscalls */
> - u64 rchar, wchar, syscr, syscw;
This is kinda funny. These fields were added a year and a half ago, with
the intention that the info be made available to userspace. But then
things got horridly stuck. It's only in the past couple of weeks that we've
gained appropriate reporting-to-userspace infrastructure to be able to use
these fields.
And lo, on the very day when you propose removing these fields, Jay posts a
new patchset ("add CSA accounting to taskstats") which finally gets around to
using them.
So.. we should keep these fields for now - we can perhaps remove them (in
less than 1.5 years) if for some reason the CSA patches crash and burn (I
don't think they will).
next prev parent reply other threads:[~2006-08-01 4:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-01 2:29 Alexey Dobriyan
2006-08-01 4:01 ` Andrew Morton [this message]
2006-08-01 4:12 ` Alexey Dobriyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060731210107.89cab506.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=adobriyan@gmail.com \
--cc=jlan@engr.sgi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®