-------- Dridi Boukelmoune writes: > On Tue, May 21, 2024 at 5:38=E2=80=AFPM Poul-Henning Kamp <phk@phk.freebsd.= > dk> wrote: > > > > Dridi Boukelmoune writes: > > > > > Are we interested in that kind of change (see attached diff) or do we > > > strictly stick to the original source that was bundled in libvarnish? > > > > What's the usecase ? > > > > If regular file: Why not mmap and save the kernel/userland copies ? > > Because the code from which I extracted this function was doing a copy > while computing the checksum on the fly, so I didn't consider mmap > when I extracted the read part of the code.
But what is the use-case ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev