mm-memory_hotplug-use-node-instead-of-zone-in-can_online_high_movable.patch removed from -mm tree
The patch titled
Subject: mm, memory_hotplug: use node instead of zone in can_online_high_movable
has been removed from the -mm tree. Its filename was
mm-memory_hotplug-use-node-instead-of-zone-in-can_online_high_movable.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Michal Hocko <[email protected]>
Subject: mm, memory_hotplug: use node instead of zone in can_online_high_movable
The primary purpose of this helper is to query the node state so use the node id directly. This is a preparatory patch for later changes.
This shouldn't introduce any functional change
---
mm/memory_hotplug.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-memory_hotplug-use-node-instead-of-zone-in-can_online_high_movable +4 -4
@@ -941,15 +941,15 @@ static int online_pages_range(unsigned l* When CONFIG_MOVABLE_NODE, we permit onlining of a node which doesn't have * normal memory. */ -static bool can_online_high_movable (struct zone *zone) +static bool can_online_high_movable (int nid) {return true; }#else /* CONFIG_MOVABLE_NODE */ /* ensure every online node has NORMAL memory */ -static bool can_online_high_movable (struct zone *zone) +static bool can_online_high_movable (int nid) { -return node_state (zone_to_nid (zone),N_NORMAL_MEMORY ); +return node_state (nid,N_NORMAL_MEMORY ); }#endif /* CONFIG_MOVABLE_NODE */
@@ -1083,7 +1083,7 @@ int __ref online_pages(unsigned long pfnif ((zone_idx (zone) >ZONE_NORMAL || online_type ==MMOP_ONLINE_MOVABLE ) && - !can_online_high_movable (zone)) + !can_online_high_movable (pfn_to_nid (pfn)))return -EINVAL ;if (online_type ==MMOP_ONLINE_KERNEL ) {
_
Patches currently in -mm which might be from [email protected] are
mm-make-pr_set_thp_disable-immediately-active.patch mm-memory_hotplug-simplify-empty-node-mask-handling-in-new_node_page.patch hugetlb-memory_hotplug-prefer-to-use-reserved-pages-for-migration.patch mm-unify-new_node_page-and-alloc_migrate_target.patch mm-memcg-fix-potential-undefined-behavior-in-mem_cgroup_event_ratelimit.patch mm-hugetlb-unclutter-hugetlb-allocation-layers.patch hugetlb-add-support-for-preferred-node-to-alloc_huge_page_nodemask.patch mm-hugetlb-soft_offline-use-new_page_nodemask-for-soft-offline-migration.patch mm-document-highmem_is_dirtyable-sysctl.patch mm-mm-mmap-do-not-blow-on-prot_none-map_fixed-holes-in-the-stack.patch mm-disallow-early_pfn_to_nid-on-configurations-which-do-not-implement-it.patch lib-rhashtablec-use-kvzalloc-in-bucket_table_alloc-when-possible.patch netfilter-use-kvmalloc-xt_alloc_table_info.patch mips-do-not-use-__gfp_repeat-for-order-0-request.patch mm-tree-wide-replace-__gfp_repeat-by-__gfp_retry_mayfail-with-more-useful-semantic.patch mm-tree-wide-replace-__gfp_repeat-by-__gfp_retry_mayfail-with-more-useful-semantic-fix-2.patch xfs-map-km_mayfail-to-__gfp_retry_mayfail.patch mm-kvmalloc-support-__gfp_retry_mayfail-for-all-sizes.patch drm-i915-use-__gfp_retry_mayfail.patch mm-migration-do-not-trigger-oom-killer-when-migrating-memory.patch