Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH] x86: use cpufreq_quick_get() for /proc/cpuinfo "cpu MH ...

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

cat /proc/cpu/0/info
I don't disagree in theory, and I used to enthusiastically support the "let's make one value per file" model.
"let's make one value per file" model.
But in practice it's a pain, and I no longer really think it's viable except for debugging.
except for debugging.
As an example, I can do
As an example, I can do
  cat /proc/cpuinfo |

In fact, I think the current patch for CPU MHz shows exactly why
/proc/cpuinfo is actually hugely superior to the crazy "one file per
cpu" model: we could gather the statistics in parallel, all together,
and make it be reasonable.

Viewing all articles
Browse latest Browse all 1267

Trending Articles