From owner-freebsd-hackers Tue Dec 17 13:21:31 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA19963 for hackers-outgoing; Tue, 17 Dec 1996 13:21:31 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id NAA19949 for ; Tue, 17 Dec 1996 13:20:53 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.8.2/8.6.9) id QAA05589; Tue, 17 Dec 1996 16:19:17 -0500 (EST) From: John Dyson Message-Id: <199612172119.QAA05589@dyson.iquest.net> Subject: Re: Almost have mmap() figured, I think... To: terry@lambert.org (Terry Lambert) Date: Tue, 17 Dec 1996 16:19:17 -0500 (EST) Cc: scrappy@hub.org, terry@lambert.org, hackers@freebsd.org In-Reply-To: <199612171701.KAA08511@phaeton.artisoft.com> from "Terry Lambert" at Dec 17, 96 10:01:37 am Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > The Stevens book is the bible... but that example you might want to > consider most relevent is in the cp code in /src/bin/cp/utils.c. > > John: there is still "#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED" in that > code... is that right now? > The ifdef can go away now -- no problem. The problem is a performance issue where copying a large file will cause lots of memory usage... The buffer cache is better tuned for file I/O. John