diff options
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r-- | arch/microblaze/Kconfig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 505a08592423..a51742190c12 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -223,6 +223,36 @@ config TASK_SIZE | |||
223 | hex "Size of user task space" if TASK_SIZE_BOOL | 223 | hex "Size of user task space" if TASK_SIZE_BOOL |
224 | default "0x80000000" | 224 | default "0x80000000" |
225 | 225 | ||
226 | choice | ||
227 | prompt "Page size" | ||
228 | default MICROBLAZE_4K_PAGES | ||
229 | depends on ADVANCED_OPTIONS && !MMU | ||
230 | help | ||
231 | Select the kernel logical page size. Increasing the page size | ||
232 | will reduce software overhead at each page boundary, allow | ||
233 | hardware prefetch mechanisms to be more effective, and allow | ||
234 | larger dma transfers increasing IO efficiency and reducing | ||
235 | overhead. However the utilization of memory will increase. | ||
236 | For example, each cached file will using a multiple of the | ||
237 | page size to hold its contents and the difference between the | ||
238 | end of file and the end of page is wasted. | ||
239 | |||
240 | If unsure, choose 4K_PAGES. | ||
241 | |||
242 | config MICROBLAZE_4K_PAGES | ||
243 | bool "4k page size" | ||
244 | |||
245 | config MICROBLAZE_8K_PAGES | ||
246 | bool "8k page size" | ||
247 | |||
248 | config MICROBLAZE_16K_PAGES | ||
249 | bool "16k page size" | ||
250 | |||
251 | config MICROBLAZE_32K_PAGES | ||
252 | bool "32k page size" | ||
253 | |||
254 | endchoice | ||
255 | |||
226 | endmenu | 256 | endmenu |
227 | 257 | ||
228 | source "mm/Kconfig" | 258 | source "mm/Kconfig" |