Kconfig (d0034a7a4ac7fae708146ac0059b9c47a1543f0d) Kconfig (4bfb68a0858deae4c40ea585037a3261f0717b0a)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory Management options"
4
5config SELECT_MEMORY_MODEL
6 def_bool y
7 depends on ARCH_SELECT_MEMORY_MODEL
8
9choice
10 prompt "Memory model"
11 depends on SELECT_MEMORY_MODEL
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory Management options"
4
5config SELECT_MEMORY_MODEL
6 def_bool y
7 depends on ARCH_SELECT_MEMORY_MODEL
8
9choice
10 prompt "Memory model"
11 depends on SELECT_MEMORY_MODEL
12 default DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT
13 default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
14 default FLATMEM_MANUAL
15 help
16 This option allows you to change some of the ways that
17 Linux manages its memory internally. Most users will
18 only have one option here selected by the architecture
19 configuration. This is normal.
20

--- 248 unchanged lines hidden (view full) ---

269 allocation instead of reclaiming.
270
271config ARCH_ENABLE_HUGEPAGE_MIGRATION
272 bool
273
274config ARCH_ENABLE_THP_MIGRATION
275 bool
276
12 default SPARSEMEM_MANUAL if ARCH_SPARSEMEM_DEFAULT
13 default FLATMEM_MANUAL
14 help
15 This option allows you to change some of the ways that
16 Linux manages its memory internally. Most users will
17 only have one option here selected by the architecture
18 configuration. This is normal.
19

--- 248 unchanged lines hidden (view full) ---

268 allocation instead of reclaiming.
269
270config ARCH_ENABLE_HUGEPAGE_MIGRATION
271 bool
272
273config ARCH_ENABLE_THP_MIGRATION
274 bool
275
276config HUGETLB_PAGE_SIZE_VARIABLE
277 def_bool n
278 help
279 Allows the pageblock_order value to be dynamic instead of just standard
280 HUGETLB_PAGE_ORDER when there are multiple HugeTLB page sizes available
281 on a platform.
282
277config CONTIG_ALLOC
278 def_bool (MEMORY_ISOLATION && COMPACTION) || CMA
279
280config PHYS_ADDR_T_64BIT
281 def_bool 64BIT
282
283config BOUNCE
284 bool "Enable bounce buffers"
285 default y
283config CONTIG_ALLOC
284 def_bool (MEMORY_ISOLATION && COMPACTION) || CMA
285
286config PHYS_ADDR_T_64BIT
287 def_bool 64BIT
288
289config BOUNCE
290 bool "Enable bounce buffers"
291 default y
286 depends on BLOCK && MMU && (ZONE_DMA || HIGHMEM)
292 depends on BLOCK && MMU && HIGHMEM
287 help
293 help
288 Enable bounce buffers for devices that cannot access
289 the full range of memory available to the CPU. Enabled
290 by default when ZONE_DMA or HIGHMEM is selected, but you
291 may say n to override this.
294 Enable bounce buffers for devices that cannot access the full range of
295 memory available to the CPU. Enabled by default when HIGHMEM is
296 selected, but you may say n to override this.
292
293config VIRT_TO_BUS
294 bool
295 help
296 An architecture should select this if it implements the
297 deprecated interface virt_to_bus(). All new architectures
298 should probably not select this.
299

--- 567 unchanged lines hidden (view full) ---

867 bool
868
869config MAPPING_DIRTY_HELPERS
870 bool
871
872config KMAP_LOCAL
873 bool
874
297
298config VIRT_TO_BUS
299 bool
300 help
301 An architecture should select this if it implements the
302 deprecated interface virt_to_bus(). All new architectures
303 should probably not select this.
304

--- 567 unchanged lines hidden (view full) ---

872 bool
873
874config MAPPING_DIRTY_HELPERS
875 bool
876
877config KMAP_LOCAL
878 bool
879
880# struct io_mapping based helper. Selected by drivers that need them
881config IO_MAPPING
882 bool
875endmenu
883endmenu