Home
last modified time | relevance | path

Searched refs:ZONE_MOVABLE (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/Documentation/
Dmemory-hotplug.txt25 6.1 Memory offline and ZONE_MOVABLE
178 can be onlined to ZONE_NORMAL by default and to ZONE_MOVABLE
181 can be onlined to ZONE_MOVABLE by default and to ZONE_NORMAL
267 If the memory block is in ZONE_NORMAL, you can change it to ZONE_MOVABLE:
270 (NOTE: current limit: this memory block must be adjacent to ZONE_MOVABLE)
272 And if the memory block is in ZONE_MOVABLE, you can change it to ZONE_NORMAL:
289 6.1 Memory offline and ZONE_MOVABLE
308 create ZONE_MOVABLE...a zone which is just used for movable pages.
312 creates ZONE_MOVABLE as following.
324 to ZONE_MOVABLE. This is TBD.
[all …]
/linux-4.1.27/mm/
Dmemory_hotplug.c904 zone_last = ZONE_MOVABLE; in node_states_check_changes_online()
929 zone_last = ZONE_MOVABLE; in node_states_check_changes_online()
986 zone_idx(zone) == ZONE_MOVABLE) { in online_pages()
991 zone_idx(zone) == ZONE_MOVABLE - 1) { in online_pages()
1198 struct zone *movable_zone = pgdat->node_zones + ZONE_MOVABLE; in should_add_memory_movable()
1212 return ZONE_MOVABLE; in zone_for_memory()
1535 for (; zt <= ZONE_MOVABLE; zt++) in can_offline_normal()
1595 zone_last = ZONE_MOVABLE; in node_states_check_changes_offline()
1623 zone_last = ZONE_MOVABLE; in node_states_check_changes_offline()
1638 zone_last = ZONE_MOVABLE; in node_states_check_changes_offline()
Dhighmem.c123 &pgdat->node_zones[ZONE_MOVABLE], in nr_free_highpages()
Dpage_alloc.c4640 if (zone_index == ZONE_MOVABLE) in find_usable_zone_for_movable()
4672 if (zone_type == ZONE_MOVABLE) { in adjust_zone_range_for_zone_movable()
5394 for (zone_type = 0; zone_type <= ZONE_MOVABLE - 1; zone_type++) { in check_for_memory()
5432 if (i == ZONE_MOVABLE) in free_area_init_nodes()
5439 arch_zone_lowest_possible_pfn[ZONE_MOVABLE] = 0; in free_area_init_nodes()
5440 arch_zone_highest_possible_pfn[ZONE_MOVABLE] = 0; in free_area_init_nodes()
5449 if (i == ZONE_MOVABLE) in free_area_init_nodes()
6267 if (zone_idx(zone) == ZONE_MOVABLE) in has_unmovable_pages()
Dmempolicy.c1618 BUG_ON(dynamic_policy_zone == ZONE_MOVABLE); in apply_policy_zone()
1629 dynamic_policy_zone = ZONE_MOVABLE; in apply_policy_zone()
/linux-4.1.27/include/linux/
Dmmzone.h321 ZONE_MOVABLE, enumerator
851 return (ZONE_MOVABLE - 1) == ZONE_HIGHMEM; in zone_movable_is_highmem()
860 (idx == ZONE_MOVABLE && zone_movable_is_highmem())); in is_highmem_idx()
877 (zone_off == ZONE_MOVABLE * sizeof(*zone) && in is_highmem()
Dmempolicy.h160 if (k > policy_zone && k != ZONE_MOVABLE) in check_highest_zone()
Dvmstat.h185 zone_page_state(&zones[ZONE_MOVABLE], item); in node_page_state()
Dgfp.h224 | (ZONE_MOVABLE << (___GFP_MOVABLE | ___GFP_HIGHMEM) * ZONES_SHIFT) \
/linux-4.1.27/arch/s390/mm/
Dinit.c183 if (zone_idx(zone) != ZONE_MOVABLE) { in arch_add_memory()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt241 This parameter controls whether we can allocate hugepages from ZONE_MOVABLE
242 or not. If set to non-zero, hugepages can be allocated from ZONE_MOVABLE.
243 ZONE_MOVABLE is created when kernel boot parameter kernelcore= is specified,
248 allocation from ZONE_MOVABLE is always enabled for the hugepage regardless
254 enabling the allocation from ZONE_MOVABLE. This is because on ZONE_MOVABLE
256 memory more likely. Note that using ZONE_MOVABLE for non-migratable
258 memory hotremove expects that memory blocks on ZONE_MOVABLE are always
/linux-4.1.27/drivers/base/
Dmemory.c401 if (zone_idx(zone) == ZONE_MOVABLE - 1) { in show_valid_zones()
408 if (zone_idx(zone) == ZONE_MOVABLE) { in show_valid_zones()