diff options
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 c857111ab964..3473f8b8ede6 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" |