From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web33101.mail.mud.yahoo.com (web33101.mail.mud.yahoo.com [209.191.69.131]) by ozlabs.org (Postfix) with SMTP id 6E2ADDE0D6 for ; Fri, 20 Jun 2008 02:19:50 +1000 (EST) Date: Thu, 19 Jun 2008 09:13:09 -0700 (PDT) From: Sanjay Patel Subject: Re: [RFC 1/3] powerpc: __copy_tofrom_user tweaked for Cell To: Arnd Bergmann , Gunnar von Boehn In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <973448.15152.qm@web33101.mail.mud.yahoo.com> Cc: Mark Nelson , linuxppc-dev@ozlabs.org, Michael Ellerman , cbe-oss-dev@ozlabs.org Reply-To: sanjay3000@yahoo.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --- On Thu, 6/19/08, Gunnar von Boehn wrote: > You are right the main copy2user requires that the SRC is > cacheable. > IMHO because of the exception on load, the routine should > fallback to the > byte copy loop. > > Arnd, could you verify that it works on localstore? Since the main loops use 'dcbz', the destination must also be cacheable. IIRC, if the destination is write-through or cache-inhibited, the 'dcbz' will cause an alignment exception. I suppose it would still function correctly via the handler, but horribly slowly. --Sanjay