Re: Patch for 2.2.10 (Quelle surprise!)

Jeff Garzik (jgarzik@pobox.com)
Sat, 3 Jul 1999 15:50:29 -0400 (EDT)


On Sat, 3 Jul 1999, Alex Buell wrote:
> Here's a patch that implements a new syscall on the i386 architecture
> along with a small test program. I'd love to hear your opinions on this.
>
> Basically it just returns a structure filled out with processor
> information a la 'cat /proc/cpuinfo', except that this is done via a
> syscall - no more horrid /proc parsing.

o good idea, handy for when CONFIG_PROCFS not defined, or procfs.o
module not available
o should be implemented on other platforms too
o should not duplicate procfs code (ie. have procfs call your code)
o should include support for other platforms
o should provide all the information that /proc/cpuinfo provides.
maybe have a 0-element array at the end of the structure, and
have an unbounded text area follow the bounded cpuinfo struct.

Jeff

-
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/