[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move huge chunks of data in kernel...



On Thu, Dec 11, 2003 at 11:48:29AM -0500, Sivasankaran, Vijay wrote:
> 
> 
> I can use memcpy(). I wanted to copy more than few pages,
> So I was wondering if we can use mmx/sse since the operands
> would be 128/64 bits and there are ways not to pollute the
> Cache... Can u give me hints on how this shud be done?


use copy_page.
it'll use mmx and such already

> Maybe we can change memcpy() to make use of mmx/sse2 if it i
> really worth it?

just about all memcpy's are small...
Kernel datastructures > 1 page are severly discouraged
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/