Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965082AbVLRFgc (ORCPT ); Sun, 18 Dec 2005 00:36:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965081AbVLRFgc (ORCPT ); Sun, 18 Dec 2005 00:36:32 -0500 Received: from lame.durables.org ([64.81.244.120]:7143 "EHLO calliope.durables.org") by vger.kernel.org with ESMTP id S1030185AbVLRFgb (ORCPT ); Sun, 18 Dec 2005 00:36:31 -0500 Subject: Re: [PATCH 03/13] [RFC] ipath copy routines From: Robert Walsh To: Andi Kleen Cc: linux-kernel@vger.kernel.org, openib-general@openib.org In-Reply-To: References: <200512161548.HbgfRzF2TysjsR2G@cisco.com> <200512161548.lRw6KI369ooIXS9o@cisco.com> <20051217123833.1aa430ab.akpm@osdl.org> <1134859243.20575.84.camel@phosphene.durables.org> Content-Type: text/plain Date: Sat, 17 Dec 2005 21:36:29 -0800 Message-Id: <1134884189.20575.129.camel@phosphene.durables.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1003 Lines: 28 On Sun, 2005-12-18 at 04:27 +0100, Andi Kleen wrote: > Robert Walsh writes: > > > > Any chance we could get these moved into the x86_64 arch directory, > > then? We have to do double-word copies, or our chip gets unhappy. > > Standard memcpy will do double word copies if everything is suitably > aligned. Just use that. This is dealing with buffers that may be passed in from user space, so there's no guarantee of alignment for either the start address or the length. Regards, Robert. -- Robert Walsh Email: rjwalsh@pathscale.com PathScale, Inc. Phone: +1 650 934 8117 2071 Stierlin Court, Suite 200 Fax: +1 650 428 1969 Mountain View, CA 94043. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/