lkml.org 
[lkml]   [1998]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] jiffies wraparound [Re: 2.1.125 Show stopper list: Draft]
Date
> I consider the current sysconf() interface infinitely yucky. It was a very
> painful experience going through the code to fix up the stuff to use the
> new mm interfaces in early 2.1.x. It's trying to be way too generic for
> very little gain.

sysconf is elegant and scalable, much like ioctl. Making it pretty is a
matter for user libraries. Its also extremely noticable the 'make it pretty'
is generally not done because its actually easier for programmers to have
a simple syscall set.

> I much prefer a "getpagesize()" system call on architectures that need it,
> instead of needlessly polluting some configuration space.

Your obsession with new syscalls is misguided IMHO Linus. getpagesize()
is a library issue. Hell it doesnt matter if glibc implements it by doing
maps on each power of 2 boundary and seeing which is the first not to tail.

So why do we need a getpagesize() syscall in the first place 8)

Alan


-
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:45    [W:0.113 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site