Messages in this thread | | | Subject | Re: [PATCH 03/13] [RFC] ipath copy routines | From | Robert Walsh <> | Date | Sat, 17 Dec 2005 21:36:29 -0800 |
| |
On Sun, 2005-12-18 at 04:27 +0100, Andi Kleen wrote: > Robert Walsh <rjwalsh@pathscale.com> 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/
| |