Re: [PATCH 09/10] x86-32: use SSE for atomic64_read/set ifavailable
From: Andi Kleen
Date: Thu Feb 18 2010 - 15:26:44 EST
> memcpy/memset/etc. (assuming SSE is the best option for these at least
> on some processors) and checksums come to mind.
Typically SSE advantages only come to play with very large data sets,
and the kernel's are not big enough. I tried it some time ago.
That said you can already use kernel_fpu_begin/end of course
and it's used in some very rare cases.
> Also non-temporal SSE moves might be useful for things like memory
> compaction without clobbering caches.
You don't need SSE for non temporal moves.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/