[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080409191833.38cc13e3.pj@sgi.com>
Date: Wed, 9 Apr 2008 19:18:33 -0500
From: Paul Jackson <pj@....com>
To: Mike Travis <travis@....com>
Cc: gregkh@...e.de, bert.wesarg@...glemail.com, mingo@...e.hu,
tglx@...utronix.de, hpa@...or.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
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@....com> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists