lkml.org 
[lkml]   [2008]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] x86: add cpus_scnprintf function v3
Mike wrote:
> Btw, where does one value per file come from? I see outputs like:
> ... /proc/self/stat

The one value per file rule comes in part from files such as this
stat file. We've been learning the hard way that complex ascii file
formats tend to be a pain to parse, and a pain to evolve. So we're
trying to do better in future files. Greg K-H has been especially
clear on the need to do this in /sys files. We can't change the format
of old files very well, but we can do better with new files we add.
The one most common exception to this rule that I find persuasive is
for a vector of values of the same type and semantics.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214


\
 
 \ /
  Last update: 2008-04-10 02:21    [from the cache]
©2003-2011 Jasper Spaans