diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-06-14 05:59:32 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-06-14 05:59:32 -0400 |
commit | 98797a241e28b787b84d308b867ec4c5fe7bbdf8 (patch) | |
tree | edd39824d91bd8cf33d8903e10ed337611483360 /arch/arm/Kconfig | |
parent | ca8cbc8391cbd4d6e4304fc6b62682ed93d2b165 (diff) | |
parent | c626e3f5ca1d95ad2204d3128c26e7678714eb55 (diff) |
Merge branch 'copy_user' of git://git.marvell.com/orion into devel
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c857111ab96..3473f8b8ede 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1091,6 +1091,22 @@ config ALIGNMENT_TRAP | |||
1091 | correct operation of some network protocols. With an IP-only | 1091 | correct operation of some network protocols. With an IP-only |
1092 | configuration it is safe to say N, otherwise say Y. | 1092 | configuration it is safe to say N, otherwise say Y. |
1093 | 1093 | ||
1094 | config UACCESS_WITH_MEMCPY | ||
1095 | bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)" | ||
1096 | depends on MMU && EXPERIMENTAL | ||
1097 | default y if CPU_FEROCEON | ||
1098 | help | ||
1099 | Implement faster copy_to_user and clear_user methods for CPU | ||
1100 | cores where a 8-word STM instruction give significantly higher | ||
1101 | memory write throughput than a sequence of individual 32bit stores. | ||
1102 | |||
1103 | A possible side effect is a slight increase in scheduling latency | ||
1104 | between threads sharing the same address space if they invoke | ||
1105 | such copy operations with large buffers. | ||
1106 | |||
1107 | However, if the CPU data cache is using a write-allocate mode, | ||
1108 | this option is unlikely to provide any performance gain. | ||
1109 | |||
1094 | endmenu | 1110 | endmenu |
1095 | 1111 | ||
1096 | menu "Boot options" | 1112 | menu "Boot options" |