Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 1995 09:11:38 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@FreeBSD.org (FreeBSD hackers)
Subject:   Re: new install(1) utility
Message-ID:  <199504050711.JAA04789@uriah.heep.sax.de>
In-Reply-To: <199504042336.QAA04227@ref.tfs.com> from "Poul-Henning Kamp" at Apr 4, 95 04:36:18 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Poul-Henning Kamp wrote:
> 
> > I wonder if this is the case for non-x86 machines as well, since I
> > suspect memcpy() uses the fast string routines available on x86
> > machines.

(Btw., other CPUs might also have fast string operations -- they are
FRI's.)

> The trick is that you use page-faults instead of read() to get to the
> file.

And as a nice side-effect: the source file is pre-faulted entirely, so
if it needs to be installed, the source will come right out of the
cache!

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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