Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 20:03:52 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        current@FreeBSD.org
Subject:   Re: Official request: Please make GNU grep the default
Message-ID:  <20100816100352.GA6255@server.vk2pj.dyndns.org>
In-Reply-To: <86sk2faqdl.fsf@ds4.des.no>
References:  <4C6505A4.9060203@FreeBSD.org> <20100813085235.GA16268@freebsd.org> <4C66C010.3040308@FreeBSD.org> <4C673F02.8000805@FreeBSD.org> <20100815013438.GA8958@troutmask.apl.washington.edu> <4C67492C.5020206@FreeBSD.org> <B7A05068-9578-4341-851B-86BD9BC7A2DA@gmail.com> <8639ufd78w.fsf@ds4.des.no> <4C6844D8.5070602@andric.com> <86sk2faqdl.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2010-Aug-16 10:55:18 +0200, Dag-Erling Sm=F8rgrav <des@des.no> wrote:
>It might be worth a shot adding mmap(2) support as well, i.e. when
>processing an uncompressed regular file, try to mmap(2) it first, and if
>that fails, fall back to the plain buffered read(2) method.

Note that ZFS and mmap() don't get on especially well together so this
isn't a definite win.  You also need to allow for files that are too
large to be mapped in one go.

--=20
Peter Jeremy

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkxpDQgACgkQ/opHv/APuId/oQCfWVrBX6Qn1Lq5ZeImbqpzxWCo
WAwAoIWR36t/AYpTfuqK3BwuSbuDl26H
=7JaF
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100816100352.GA6255>