Skip to contentSkip to conversation

mm-zsmalloc-add-__init__exit-attribute.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 29, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/zsmalloc: add __init,__exit attribute
has been removed from the -mm tree. Its filename was
mm-zsmalloc-add-__init__exit-attribute.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Ganesh Mahendran <[email protected]>
Subject: mm/zsmalloc: add __init,__exit attribute

Add __init,__exit attribute for function that only called in module init/exit to save memory.

---

 mm/zsmalloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/zsmalloc.c renamed from mm/zsmalloc.c~mm-zsmalloc-add-__init__exit-attribute +1 -1
diff -puN mm/zsmalloc.c~mm-zsmalloc-add-__init__exit-attribute mm/zsmalloc.c
@@ -1341,7 +1341,7 @@ static void zs_unregister_cpu_notifier(v
 	cpu_notifier_register_done();
 }
 
-static void init_zs_size_classes(void)
+static void __init init_zs_size_classes(void)
 {
 	int nr;
 

_

Patches currently in -mm which might be from [email protected] are

mm-zsmalloc-add-trace-events-for-zs_compact.patch mm-zsmalloc-add-per-class-compact-trace-event.patch