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...
-- vda - 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/
This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:30 EST