lkml.org 
[lkml]   [1999]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch for 2.2.10 (Quelle surprise!)
On Wed, 7 Jul 1999, Albert D. Cahalan wrote:

> > You still haven't explained why a syscall/sysctl is needed for this
> > when all the information can be obtained by parsing /proc/cpuinfo
>
> Obviously you haven't tried this in a cross-platform manner. (or you
> wrote the libc 6 sysconf() hack and think your code works)

Precisely. I have to maintain separate #ifdefs of code that parses
/proc/cpuinfo for each architecture that Linux runs on. Using sysctl()
would be much more architecture independent thus I can write code once
compile on many.

I've changed my mind and removed Jes Sorenson from my kill-filter, he
might have something interesting to say...

Cheers,
Alex
--

I hate people who gets offended too easily!

http://www.tahallah.demon.co.uk


-
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.182 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site