diff for duplicates of <20160706082005.GA3922@leo-test> diff --git a/a/1.txt b/N1/1.txt index a0ca597..b8d7fb8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -49,3 +49,38 @@ Sorry, the __exit zsmalloc_umount is called in __init zs_init. updated patch is : --- +>From 0980a277158958210b671b79e9ddf98699dd6b50 Mon Sep 17 00:00:00 2001 +From: Ganesh Mahendran <opensource.ganesh@gmail.com> +Date: Fri, 1 Jul 2016 14:05:50 +0800 +Subject: [PATCH] mm/zsmalloc: add __init,__exit attribute + +Add __init,__exit attribute for function that only called in +module init/exit to save memory. + +Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com> +---- +v4: + remove __init/__exit for zsmalloc_mount/zsmalloc_umount +v3: + revert change in v2 - Sergey +v2: + add __init/__exit for zs_register_cpu_notifier/zs_unregister_cpu_notifier +--- + mm/zsmalloc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c +index ded312b..780eabd 100644 +--- a/mm/zsmalloc.c ++++ b/mm/zsmalloc.c +@@ -1344,7 +1344,7 @@ static void zs_unregister_cpu_notifier(void) + cpu_notifier_register_done(); + } + +-static void init_zs_size_classes(void) ++static void __init init_zs_size_classes(void) + { + int nr; + +-- +1.9.1 diff --git a/a/content_digest b/N1/content_digest index 56c85cd..0f0415d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -63,6 +63,41 @@ "\n" "updated patch is :\n" "\n" - --- + "---\n" + ">From 0980a277158958210b671b79e9ddf98699dd6b50 Mon Sep 17 00:00:00 2001\n" + "From: Ganesh Mahendran <opensource.ganesh@gmail.com>\n" + "Date: Fri, 1 Jul 2016 14:05:50 +0800\n" + "Subject: [PATCH] mm/zsmalloc: add __init,__exit attribute\n" + "\n" + "Add __init,__exit attribute for function that only called in\n" + "module init/exit to save memory.\n" + "\n" + "Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>\n" + "----\n" + "v4:\n" + " remove __init/__exit for zsmalloc_mount/zsmalloc_umount\n" + "v3:\n" + " revert change in v2 - Sergey\n" + "v2:\n" + " add __init/__exit for zs_register_cpu_notifier/zs_unregister_cpu_notifier\n" + "---\n" + " mm/zsmalloc.c | 2 +-\n" + " 1 file changed, 1 insertion(+), 1 deletion(-)\n" + "\n" + "diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c\n" + "index ded312b..780eabd 100644\n" + "--- a/mm/zsmalloc.c\n" + "+++ b/mm/zsmalloc.c\n" + "@@ -1344,7 +1344,7 @@ static void zs_unregister_cpu_notifier(void)\n" + " \tcpu_notifier_register_done();\n" + " }\n" + " \n" + "-static void init_zs_size_classes(void)\n" + "+static void __init init_zs_size_classes(void)\n" + " {\n" + " \tint nr;\n" + " \n" + "-- \n" + 1.9.1 -bff0e7c917da6aaf6584617c7d3d3d64c03a4a41cf102d7e8e9554f92bfac4c4 +030d024098f770c27a7beda4b57039dc0361c7a6e20961f0849883d91b0352e3
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.