1 menu "Memory management options"
4 hex "Kernel page offset address"
7 This option allows you to set the virtual address at which the
8 kernel will be mapped to.
11 config KERNEL_4M_PAGES
12 bool "Map kernel with 4MB pages"
13 depends on METAG_META21_MMU
16 Map the kernel with large pages to reduce TLB pressure.
19 prompt "User page size"
25 This is the default page size used by all Meta cores.
29 depends on METAG_META21_MMU
31 This enables 8kB pages as supported by Meta 2.x and later MMUs.
35 depends on METAG_META21_MMU
37 This enables 16kB pages as supported by Meta 2.x and later MMUs.
42 bool "Non Uniform Memory Access (NUMA) Support"
43 select ARCH_WANT_NUMA_VARIABLE_LOCALITY
45 Some Meta systems have MMU-mappable on-chip memories with
46 lower latencies than main memory. This enables support for
47 these blocks by binding them to nodes and allowing
48 memory policies to be used for prioritizing and controlling
51 config FORCE_MAX_ZONEORDER
52 int "Maximum zone order"
56 The kernel memory allocator divides physically contiguous memory
57 blocks into "zones", where each zone is a power of two number of
58 pages. This option selects the largest power of two that the kernel
59 keeps in the memory allocator. If you need to allocate very large
60 blocks of physically contiguous memory, then you may need to
63 This config option is actually maximum order plus one. For example,
64 a value of 11 means that the largest free memory block is 2^10 pages.
66 The page size is not necessarily 4KB. Keep this in mind
67 when choosing a value for this option.
70 bool "Level 2 Cache Support"
71 depends on METAG_META21
73 Press y here to enable support for the Meta Level 2 (L2) cache. This
74 will enable the cache at start up if it hasn't already been enabled
77 If the bootloader enables the L2 you must press y here to ensure the
78 kernel takes the appropriate actions to keep the cache coherent.
83 depends on NEED_MULTIPLE_NODES
85 config ARCH_FLATMEM_ENABLE
89 config ARCH_SPARSEMEM_ENABLE
91 select SPARSEMEM_STATIC
93 config ARCH_SPARSEMEM_DEFAULT
96 config ARCH_SELECT_MEMORY_MODEL
99 config SYS_SUPPORTS_HUGETLBFS
101 depends on METAG_META21_MMU
104 prompt "HugeTLB page size"
105 depends on METAG_META21_MMU && HUGETLB_PAGE
106 default HUGETLB_PAGE_SIZE_1M
108 config HUGETLB_PAGE_SIZE_8K
110 depends on PAGE_SIZE_4K
112 config HUGETLB_PAGE_SIZE_16K
114 depends on PAGE_SIZE_4K || PAGE_SIZE_8K
116 config HUGETLB_PAGE_SIZE_32K
119 config HUGETLB_PAGE_SIZE_64K
122 config HUGETLB_PAGE_SIZE_128K
125 config HUGETLB_PAGE_SIZE_256K
128 config HUGETLB_PAGE_SIZE_512K
131 config HUGETLB_PAGE_SIZE_1M
134 config HUGETLB_PAGE_SIZE_2M
137 config HUGETLB_PAGE_SIZE_4M