lkml.org 
[lkml]   [1999]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch for 2.2.10 (Quelle surprise!)
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.117 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site