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/