]> err.no Git - linux-2.6/commit
[PATCH] x86-64: Add __copy_from_user_nocache
authorAndi Kleen <ak@suse.de>
Tue, 13 Feb 2007 12:26:19 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:19 +0000 (13:26 +0100)
commit0812a579c92fefa57506821fa08e90f47cb6dbdd
tree53607d77021e5b9f5adf60f2d0bfbdd551f63c8e
parentee55c0be30429d7c3e61fa26c7f7e323c80e14f0
[PATCH] x86-64: Add __copy_from_user_nocache

This does user copies in fs write() into the page cache with write combining.
This pushes the destination out of the CPU's cache, but allows higher bandwidth
in some case.

The theory is that the page cache data is usually not touched by the
CPU again and it's better to not pollute the cache with it. Also it is a little
faster.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/x8664_ksyms.c
arch/x86_64/lib/Makefile
arch/x86_64/lib/copy_user_nocache.S [new file with mode: 0644]
include/asm-x86_64/uaccess.h