linux-mips
[Top] [All Lists]

Re: memcpy and prefetch

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: memcpy and prefetch
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 28 Jan 2009 10:37:53 +0000
Cc: Michael Sundius <msundius@cisco.com>, linux-mips@linux-mips.org, "VomLehn, David" <dvomlehn@cisco.com>, msundius@sundius.com
In-reply-to: <497F93C1.3090401@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <497F9214.1000609@cisco.com> <497F93C1.3090401@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
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

<Prev in Thread] Current Thread [Next in Thread>