lkml.org 
[lkml]   [2002]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] sard changes for 2.5.34
Denis Vlasenko wrote:
>
> On 12 September 2002 05:20, Andrew Morton wrote:
> > > Lastly, a bit of a philosophical question. /proc/stat and (with this
> > > patch) /proc/diskstats provide some of the same information. Should
> > >
> > > a) all of it appear in /proc/stat?
> > >
> > > b) all of it appear in /proc/diskstats?
> > >
> > > c) keep the current (limited) info in /proc/stat (for backward
> > > compatibility) and introduce the expanded info in
> > > /proc/diskstats?
> > >
> > > My preference is b, but I'm open to other opinions.
> >
> > b). Let's get the kernel right and change userspace to follow. We have
> > another accounting patch which breaks top(1), so Rik has fixed it (and
> > is feeding the fixes upstream).
>
> Erm... Some of /proc/stat data has no relations to disks, namely CPU counts.
> It would be strange to have CPU stats in /proc/diskstats...

Rick is proposing that all the disk stuff be in /proc/diskstat and
that all the process stuff be in /proc/stat. ie: move all the disk
accounting out of /proc/stat.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.106 / U:1.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site