From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 28 Jan 2009 10:38:16 +0000 (GMT) Received: from h5.dl5rb.org.uk ([81.2.74.5]:40418 "EHLO h5.dl5rb.org.uk") by ftp.linux-mips.org with ESMTP id S21366309AbZA1KiO (ORCPT ); Wed, 28 Jan 2009 10:38:14 +0000 Received: from h5.dl5rb.org.uk (localhost.localdomain [127.0.0.1]) by h5.dl5rb.org.uk (8.14.3/8.14.3) with ESMTP id n0SAbuGC025217; Wed, 28 Jan 2009 10:37:56 GMT Received: (from ralf@localhost) by h5.dl5rb.org.uk (8.14.3/8.14.3/Submit) id n0SAbrc2025215; Wed, 28 Jan 2009 10:37:53 GMT Date: Wed, 28 Jan 2009 10:37:53 +0000 From: Ralf Baechle To: David Daney Cc: Michael Sundius , linux-mips@linux-mips.org, "VomLehn, David" , msundius@sundius.com Subject: Re: memcpy and prefetch Message-ID: <20090128103753.GC2234@linux-mips.org> References: <497F9214.1000609@cisco.com> <497F93C1.3090401@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <497F93C1.3090401@caviumnetworks.com> User-Agent: Mutt/1.5.18 (2008-05-17) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 21853 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Tue, Jan 27, 2009 at 03:07:45PM -0800, David Daney wrote: > The Cavium OCTEON port overrides the default memcpy and does use > prefetch. It was recently merged (2.6.29-rc2). Look at octeon-memcpy.S > > I have thought that memcpy could be generated by mm/page.c as copy_page > and clear_page are. No, these two only generate copy_page and clear_page. I and Thiemo were considering to extend this to a full memcopy however. Ralf