memblock-make-memblock_set_node-support-different-memblock_type.patch removed from -mm tree
Subsystems (8)
[email protected]
maintainerSubject: [merged] memblock-make-memblock_set_node-support-different-memblock_type.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:13:04 -0800
The patch titled
Subject: memblock: make memblock_set_node() support different memblock_type
has been removed from the -mm tree. Its filename was
memblock-make-memblock_set_node-support-different-memblock_type.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Tang Chen <[email protected]>
Subject: memblock: make memblock_set_node() support different memblock_type
---
arch/metag/mm/init.c | 3 ++- arch/metag/mm/numa.c | 3 ++- arch/microblaze/mm/init.c | 3 ++- arch/powerpc/mm/mem.c | 2 +- arch/powerpc/mm/numa.c | 8 +++++--- arch/sh/kernel/setup.c | 4 ++-- arch/sparc/mm/init_64.c | 5 +++-- arch/x86/mm/init_32.c | 2 +- arch/x86/mm/init_64.c | 2 +- arch/x86/mm/numa.c | 6 ++++-- include/linux/memblock.h | 3 ++- mm/memblock.c | 6 +++--- 12 files changed, 28 insertions(+), 19 deletions(-)
arch/metag/mm/init.c renamed from arch/metag/mm/init.c~memblock-make-memblock_set_node-support-different-memblock_type +2 -1
@@ -204,7 +204,8 @@ static void __init do_init_bootmem(void) start_pfn =memblock_region_memory_base_pfn (reg); end_pfn =memblock_region_memory_end_pfn (reg);memblock_set_node (PFN_PHYS (start_pfn), -PFN_PHYS (end_pfn - start_pfn),0 ); +PFN_PHYS (end_pfn - start_pfn), + &memblock.memory,0 ); }/* All of system RAM sits in node 0 for the non-NUMA case */
arch/metag/mm/numa.c renamed from arch/metag/mm/numa.c~memblock-make-memblock_set_node-support-different-memblock_type +2 -1
@@ -42,7 +42,8 @@ void __init setup_bootmem_node(int nid,memblock_add (start, end - start);memblock_set_node (PFN_PHYS (start_pfn), -PFN_PHYS (end_pfn - start_pfn), nid); +PFN_PHYS (end_pfn - start_pfn), + &memblock.memory, nid);/* Node-local pgdat */ pgdat_paddr = memblock_alloc_base(sizeof(struct pglist_data),
arch/microblaze/mm/init.c renamed from arch/microblaze/mm/init.c~memblock-make-memblock_set_node-support-different-memblock_type +2 -1
@@ -192,7 +192,8 @@ void __init setup_memory(void) start_pfn =memblock_region_memory_base_pfn (reg); end_pfn =memblock_region_memory_end_pfn (reg);memblock_set_node (start_pfn <<PAGE_SHIFT , - (end_pfn - start_pfn) <<PAGE_SHIFT ,0 ); + (end_pfn - start_pfn) <<PAGE_SHIFT , + &memblock.memory,0 ); }/* free bootmem is whole main memory */
arch/powerpc/mm/mem.c renamed from arch/powerpc/mm/mem.c~memblock-make-memblock_set_node-support-different-memblock_type +1 -1
@@ -209,7 +209,7 @@ void __init do_init_bootmem(void)/* Place all memblock_regions in the same node and merge contiguous * memblock_regions */ -memblock_set_node (0 , (phys_addr_t )ULLONG_MAX ,0 ); +memblock_set_node (0 , (phys_addr_t )ULLONG_MAX , &memblock.memory,0 );/* Add all physical memory to the bootmem map, mark each area * present.
arch/powerpc/mm/numa.c renamed from arch/powerpc/mm/numa.c~memblock-make-memblock_set_node-support-different-memblock_type +5 -3
@@ -670,7 +670,8 @@ static void __init parse_drconf_memory(snode_set_online (nid); sz =numa_enforce_memory_limit (base, size);if (sz) -memblock_set_node (base, sz, nid); +memblock_set_node (base, sz, + &memblock.memory, nid); }while (--ranges); } }
@@ -760,7 +761,7 @@ new_range:continue ; } -memblock_set_node (start, size, nid); +memblock_set_node (start, size, &memblock.memory, nid);if (--ranges) goto new_range;
@@ -797,7 +798,8 @@ static void __init setup_nonnuma(void)fake_numa_create_new_node (end_pfn, &nid);memblock_set_node (PFN_PHYS (start_pfn), -PFN_PHYS (end_pfn - start_pfn), nid); +PFN_PHYS (end_pfn - start_pfn), + &memblock.memory, nid);node_set_online (nid); } }
arch/sh/kernel/setup.c renamed from arch/sh/kernel/setup.c~memblock-make-memblock_set_node-support-different-memblock_type +2 -2
@@ -230,8 +230,8 @@ void __init __add_active_range(unsignedpmb_bolt_mapping ((unsigned long )__va (start), start, end - start,PAGE_KERNEL ); -memblock_set_node (PFN_PHYS (start_pfn), -PFN_PHYS (end_pfn - start_pfn), nid); +memblock_set_node (PFN_PHYS (start_pfn),PFN_PHYS (end_pfn - start_pfn), + &memblock.memory, nid); }void __init __weak plat_early_device_setup (void )
arch/sparc/mm/init_64.c renamed from arch/sparc/mm/init_64.c~memblock-make-memblock_set_node-support-different-memblock_type +3 -2
@@ -1021,7 +1021,8 @@ static void __init add_node_ranges(void)"start[%lx] end[%lx]\n" , nid, start, this_end); -memblock_set_node (start, this_end - start, nid); +memblock_set_node (start, this_end - start, + &memblock.memory, nid); start = this_end; } }
@@ -1325,7 +1326,7 @@ static void __init bootmem_init_nonnuma( (top_of_ram - total_ram) >> 20);init_node_masks_nonnuma (); -memblock_set_node (0 , (phys_addr_t )ULLONG_MAX ,0 ); +memblock_set_node (0 , (phys_addr_t )ULLONG_MAX , &memblock.memory,0 );allocate_node_data (0 );node_set_online (0 ); }
arch/x86/mm/init_32.c renamed from arch/x86/mm/init_32.c~memblock-make-memblock_set_node-support-different-memblock_type +1 -1
@@ -665,7 +665,7 @@ void __init initmem_init(void) high_memory = (void *)__va (max_low_pfn *PAGE_SIZE -1 ) +1 ;#endif -memblock_set_node (0 , (phys_addr_t )ULLONG_MAX ,0 ); +memblock_set_node (0 , (phys_addr_t )ULLONG_MAX , &memblock.memory,0 );sparse_memory_present_with_active_regions (0 );#ifdef CONFIG_FLATMEM
arch/x86/mm/init_64.c renamed from arch/x86/mm/init_64.c~memblock-make-memblock_set_node-support-different-memblock_type +1 -1
@@ -643,7 +643,7 @@ kernel_physical_mapping_init(unsigned lo#ifndef CONFIG_NUMA void __init initmem_init (void ) { -memblock_set_node (0 , (phys_addr_t )ULLONG_MAX ,0 ); +memblock_set_node (0 , (phys_addr_t )ULLONG_MAX , &memblock.memory,0 ); }#endif
arch/x86/mm/numa.c renamed from arch/x86/mm/numa.c~memblock-make-memblock_set_node-support-different-memblock_type +4 -2
@@ -491,7 +491,8 @@ static int __init numa_register_memblks(for (i =0 ; i < mi->nr_blks; i++) {struct numa_memblk *mb = &mi->blk[i]; -memblock_set_node (mb->start, mb->end - mb->start, mb->nid); +memblock_set_node (mb->start, mb->end - mb->start, + &memblock.memory, mb->nid); }/*
@@ -565,7 +566,8 @@ static int __init numa_init(int (*init_fnodes_clear (node_possible_map);nodes_clear (node_online_map);memset (&numa_meminfo,0 ,sizeof (numa_meminfo)); -WARN_ON (memblock_set_node (0 ,ULLONG_MAX ,MAX_NUMNODES )); +WARN_ON (memblock_set_node (0 ,ULLONG_MAX , &memblock.memory, +MAX_NUMNODES ));numa_reset_distance (); ret =init_func ();
include/linux/memblock.h renamed from include/linux/memblock.h~memblock-make-memblock_set_node-support-different-memblock_type +2 -1
@@ -140,7 +140,8 @@ static inline void memblock_clear_region }#ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP -int memblock_set_node (phys_addr_t base,phys_addr_t size,int nid); +int memblock_set_node (phys_addr_t base,phys_addr_t size, +struct memblock_type *type,int nid);static inline void memblock_set_region_node (struct memblock_region *r,int nid) {
mm/memblock.c renamed from mm/memblock.c~memblock-make-memblock_set_node-support-different-memblock_type +3 -3
@@ -911,18 +911,18 @@ void __init_memblock __next_mem_pfn_rang* memblock_set_node - set node ID on memblock regions * @base: base of area to set node ID for * @size: size of area to set node ID for +* @type: memblock type to set node ID for * @nid: node ID to set * -* Set the nid of memblock memory regions in [@base,@base+@size) to @nid. +* Set the nid of memblock @type regions in [@base,@base+@size) to @nid. * Regions which cross the area boundaries are split as necessary. * * RETURNS: * 0 on success, -errno on failure. */ int __init_memblock memblock_set_node(phys_addr_t base, phys_addr_t size, -int nid) +struct memblock_type *type,int nid) { -struct memblock_type *type = &memblock.memory;int start_rgn, end_rgn;int i, ret;
_
Patches currently in -mm which might be from [email protected] are
origin.patch mm-nobootmemc-add-return-value-check-in-__alloc_memory_core_early.patch mm-free-memblockmemory-in-free_all_bootmem.patch mm-free-memblockmemory-in-free_all_bootmem-fix.patch mm-nobootmem-free_all_bootmem-again.patch mm-memory_hotplugc-move-register_memory_resource-out-of-the-lock_memory_hotplug.patch linux-next.patch