Re: [patch] jiffies wraparound [Re: 2.1.125 Show stopper list: Draft]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 27 Oct 1998 14:25:48 +0000 (GMT)


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