[PATCH] PAGE_SIZE in libsbuf

Kostik Belousov kostikbel at gmail.com
Sun Jul 3 11:57:58 UTC 2011


On Sun, Jul 03, 2011 at 01:47:38PM +0200, Robert Millan wrote:
> On arm, ia64, powerpc and sparc, Linux doesn't define a static
> PAGE_SIZE.  It can only be obtained via sysconf().  In addition,
> GNU/Hurd doesn't define PAGE_SIZE at all.
> 
> This patch improves portability of libsbuf to be built on those platforms.
> 
> In case you'd like to know, Debian is using libsbuf not just for its
> GNU/kFreeBSD port, but also provides it to developers in Debian
> GNU/Linux:
> 
> http://packages.debian.org/search?keywords=libsbuf-dev
> https://buildd.debian.org/status/package.php?p=freebsd-libs&suite=sid
I think the different workaround is already included in the latest
sbuf source. Please see
http://svnweb.freebsd.org/base/head/sys/kern/subr_sbuf.c?revision=222015&view=markup
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110703/82b9f136/attachment.pgp


More information about the freebsd-hackers mailing list