Commit 35b3445e authored by Ganesh Mahendran's avatar Ganesh Mahendran Committed by Linus Torvalds

mm/zsmalloc: add __init,__exit attribute

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

Link: default avatarGanesh Mahendran <>
Cc: Sergey Senozhatsky <>
Cc: Minchan Kim <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent fd854463
......@@ -1341,7 +1341,7 @@ static void zs_unregister_cpu_notifier(void)
static void init_zs_size_classes(void)
static void __init init_zs_size_classes(void)
int nr;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment