login
Header Space

 
 

Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: J.C. Pizarro <jcpiza@...>
Cc: LKML <linux-kernel@...>
Date: Tuesday, March 25, 2008 - 6:59 pm

J.C. Pizarro wrote:

Then use dmidecode.  It's all in one place, and everyone expects it to be far 
too long to read at a glance.


It's precisely that sort of weirdness we want to be able to catch at a glance. 
These days, there is no possible way to make /proc/cpuinfo satisfy everyone and 
still be compact.  That's why we mostly leave it alone and put all the fun stuff 
in /sys, which is much better suited to the ever-increasing complexity of modern 
hardware.

If we refactor /proc/cpuinfo, it will break all sorts of things that use that 
information to get an idea of what the system is running on.  All of the info is 
there in /sys now anyway, so if you want a different format, write your own 
userspace tool to scrape it together.  There's absolutely no need to implement 
this purely cosmetic data formatting in the kernel.

-- Chris
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, J.C. Pizarro, (Tue Mar 25, 5:39 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Dave Jones, (Tue Mar 25, 9:39 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Chris Snook, (Tue Mar 25, 5:57 pm)
consistency: temperature versus metric bytes (was: Re: Why /..., Geert Uytterhoeven, (Wed Mar 26, 4:54 am)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, J.C. Pizarro, (Tue Mar 25, 6:50 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Chris Snook, (Tue Mar 25, 6:59 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, J.C. Pizarro, (Tue Mar 25, 7:10 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Chris Snook, (Tue Mar 25, 7:14 pm)
speck-geostationary