From owner-freebsd-hackers Wed Apr 5 00:22:49 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA09158 for hackers-outgoing; Wed, 5 Apr 1995 00:22:49 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA09138 for ; Wed, 5 Apr 1995 00:22:43 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA04330; Wed, 5 Apr 1995 09:22:24 +0200 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id JAA03733 for freebsd-hackers@freebsd.org; Wed, 5 Apr 1995 09:22:23 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id JAA04789 for freebsd-hackers@freebsd.org; Wed, 5 Apr 1995 09:11:39 +0200 From: J Wunsch Message-Id: <199504050711.JAA04789@uriah.heep.sax.de> Subject: Re: new install(1) utility To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Date: Wed, 5 Apr 1995 09:11:38 +0200 (MET DST) In-Reply-To: <199504042336.QAA04227@ref.tfs.com> from "Poul-Henning Kamp" at Apr 4, 95 04:36:18 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 633 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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. ;-)