Re: [PATCH 0/3] x86: add cpus_scnprintf function v3

From: Paul Jackson
Date: Wed Apr 09 2008 - 20:18:50 EST


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@xxxxxxx> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/