Date: Sun, 3 Jul 2011 14:57:50 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Robert Millan <rmh@debian.org> Cc: freebsd-hackers@freebsd.org, Ed Maste <emaste@freebsd.org> Subject: Re: [PATCH] PAGE_SIZE in libsbuf Message-ID: <20110703115750.GL48734@deviant.kiev.zoral.com.ua> In-Reply-To: <CAOfDtXMVWT0jGw_o5ugBNW7Fiq1O2avDnprXAZ3s8aP-hsMTLA@mail.gmail.com> References: <CAOfDtXMVWT0jGw_o5ugBNW7Fiq1O2avDnprXAZ3s8aP-hsMTLA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0A22s/3ja2DLkBMy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > This patch improves portability of libsbuf to be built on those platforms. >=20 > 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: >=20 > http://packages.debian.org/search?keywords=3Dlibsbuf-dev > https://buildd.debian.org/status/package.php?p=3Dfreebsd-libs&suite=3Dsid 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=3D222015&= view=3Dmarkup --0A22s/3ja2DLkBMy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk4QWT4ACgkQC3+MBN1Mb4jJzgCfXI1c+0ylOYQB3t1rIVifSIq7 VtEAn1PxRgzd0Pu4QCcI064xc2MJuDIQ =Hgsp -----END PGP SIGNATURE----- --0A22s/3ja2DLkBMy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110703115750.GL48734>