]> git.baikalelectronics.ru Git - kernel.git/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)
commitf0c76e137c334efdd0c70f84aa47d25a687ff472
tree53607d77021e5b9f5adf60f2d0bfbdd551f63c8e
parent8ebc790fcde96da7b07eb174c9eb442e32ecff3d
[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