config SYS_SUPPORTS_HUGETLBFS
def_bool y
-config GENERIC_CLOCKEVENTS
- def_bool y
-
+ # Support for additional huge page sizes besides HPAGE_SIZE.
+ # The software support is currently only present in the TILE-Gx
+ # hypervisor. TILEPro in any case does not support page sizes
+ # larger than the default HPAGE_SIZE.
+ config HUGETLB_SUPER_PAGES
+ depends on HUGETLB_PAGE && TILEGX
+ def_bool y
+
# FIXME: tilegx can implement a more efficient rwsem.
config RWSEM_GENERIC_SPINLOCK
def_bool y
smaller kernel memory footprint results from using a smaller
value on chips with fewer tiles.
-source "kernel/time/Kconfig"
-
+ if TILEGX
+
+ choice
+ prompt "Kernel page size"
+ default PAGE_SIZE_64KB
+ help
+ This lets you select the page size of the kernel. For best
+ performance on memory-intensive applications, a page size of 64KB
+ is recommended. For workloads involving many small files, many
+ connections, etc., it may be better to select 16KB, which uses
+ memory more efficiently at some cost in TLB performance.
+
+ Note that this option is TILE-Gx specific; currently
+ TILEPro page size is set by rebuilding the hypervisor.
+
+ config PAGE_SIZE_16KB
+ bool "16KB"
+
+ config PAGE_SIZE_64KB
+ bool "64KB"
+
+ endchoice
+
+ endif
+
source "kernel/Kconfig.hz"
config KEXEC