Re: getpagesize.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Elliott,

On Sun, Mar 31, 2024 at 12:24:12AM +0100, Alejandro Colomar wrote:
> > From e4e24a6a7ef66016edcd735f3cebc7f6583e716a Mon Sep 17 00:00:00 2001
> > From: Elliott Hughes <enh@xxxxxxxxxx>
> > Date: Fri, 29 Mar 2024 17:10:26 -0700
> > Subject: [PATCH] getpagesize.2/syscalls.2: modernization.
> > 
> > Remove the HP-UX portability advice, since getpagesize() is a slightly
> > better option than sysconf() for Linux systems.
> > 
> > Explain why this function exists, and why this man page is in the wrong
> > section. (The previous text tried to do both at the same, which was
> > confusing.) Also explain how the vast majority of architectures that
> > don't have a syscall (but do support multiple page sizes) actually work.
> > 
> > Also de-emphasize the glibc 2.0 bug, since most people don't need to
> > worry about compatibility with versions of glibc from 1997.
> > 
> > Finally, change "not on x86" in syscalls.2 to say where there _is_ a
> > syscall.

I've applied it, with my suggestions on top, and pushed it here:
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=c1e10426dc22ca976ba1107f7ca95a373bb22f83>

It'll stay there for a few days, and then to master.  If you want to
send a Signed-off-by, I'll add it.

Have a lovely night!
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux