lib-cpumaskc-use-memblock-apis-for-early-memory-allocations.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] lib-cpumaskc-use-memblock-apis-for-early-memory-allocations.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]
From: [email protected]
Date: Wed, 22 Jan 2014 12:14:10 -0800
The patch titled
Subject: lib/cpumask.c: use memblock apis for early memory allocations
has been removed from the -mm tree. Its filename was
lib-cpumaskc-use-memblock-apis-for-early-memory-allocations.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Santosh Shilimkar <[email protected]>
Subject: lib/cpumask.c: use memblock apis for early memory allocations
Switch to memblock interfaces for early memory allocator instead of bootmem allocator. No functional change in beahvior than what it is in current code from bootmem users points of view.
Archs already converted to NO_BOOTMEM now directly use memblock interfaces instead of bootmem wrappers build on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs.
---
lib/cpumask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/cpumask.c renamed from lib/cpumask.c~lib-cpumaskc-use-memblock-apis-for-early-memory-allocations +2 -2
@@ -140,7 +140,7 @@ EXPORT_SYMBOL(zalloc_cpumask_var);*/ void __init alloc_bootmem_cpumask_var (cpumask_var_t *mask) { - *mask =alloc_bootmem (cpumask_size ()); + *mask =memblock_virt_alloc (cpumask_size (),0 ); }/**
@@ -161,6 +161,6 @@ EXPORT_SYMBOL(free_cpumask_var);*/ void __init free_bootmem_cpumask_var (cpumask_var_t mask) { -free_bootmem (__pa (mask),cpumask_size ()); +memblock_free_early (__pa (mask),cpumask_size ()); }#endif
_
Patches currently in -mm which might be from [email protected] are
origin.patch
mm-nobootmem-free_all_bootmem-again.patch
linux-next.patch