/proc/cpuinfo AND proc fs

Lenart Gabor (lgb@hal2000.hal.vein.hu)
Mon, 7 Dec 1998 12:58:45 +0100


Some days ago I had to install Linux to many computers with many different
type of CPUs with many differnt type of bugs :) File /proc/cpuinfo is great
to show them but I think it would be better to summarize this information
in ONE line. In 2.1.131 :
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
It would be better to have ONE line with cpu_bugs, and show bugs which
are present, or something similar like this :
cpu_bugs : f00f

It's very easy to implement, only modifiy some line in arch/i386/kernel/setup.c
(it's easy for me too, surprise ! :) get_cpuinfo function.

My other question is about modularizing proc file system. OK, it's sound
silly and present module tools probably needs mounted /proc to load a
module :). The main problem with /proc that text output (like the absolute
/proc/pci) takes many memory. So it would be implement simplier that compile
only basic things into kernel and using loadable modules when these nice but
memory eater files are requested to read (or write ...).

---[ LGB/DC ]------------------[ root@hal2000 ]-----------------[ LINUX ]---
"The truth is out there" "We're living together" "The future is dark."
---[ 88/422022-4602 ]--[ http://www.hal.vein.hu/~lgb ]------[ 87/477074 ]---

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/