The patch titled Subject: mm/page_poison.c: make early_page_poison_param() __init has been added to the -mm tree. Its filename is mm-page_poison-make-early_page_poison_param-__init.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-page_poison-make-early_page_poison_param-__init.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-page_poison-make-early_page_poison_param-__init.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx> Subject: mm/page_poison.c: make early_page_poison_param() __init The early_param() is only called during kernel initialization, So Linux marks the function of it with __init macro to save memory. But it forgot to mark the early_page_poison_param(). So, Make it __init as well. Link: http://lkml.kernel.org/r/20180117034757.27024-1-douly.fnst@xxxxxxxxxxxxxx Signed-off-by: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Philippe Ombredanne <pombredanne@xxxxxxxx> Cc: Kate Stewart <kstewart@xxxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_poison.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/page_poison.c~mm-page_poison-make-early_page_poison_param-__init mm/page_poison.c --- a/mm/page_poison.c~mm-page_poison-make-early_page_poison_param-__init +++ a/mm/page_poison.c @@ -9,7 +9,7 @@ static bool want_page_poisoning __read_mostly; -static int early_page_poison_param(char *buf) +static int __init early_page_poison_param(char *buf) { if (!buf) return -EINVAL; _ Patches currently in -mm which might be from douly.fnst@xxxxxxxxxxxxxx are tile-pci_gx-make-setup_pcie_rc_delay-__init.patch mm-kmemleak-make-kmemleak_boot_config-__init.patch mm-page_owner-make-early_page_owner_param-__init.patch mm-page_poison-make-early_page_poison_param-__init.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html