Messages in this thread | | | Date | Wed, 9 Apr 2008 19:18:33 -0500 | From | Paul Jackson <> | Subject | Re: [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
| |