summaryrefslogtreecommitdiffstats
path: root/mm/slab_common.c
diff options
context:
space:
mode:
authorDou Liyang2018-04-06 01:23:53 +0200
committerLinus Torvalds2018-04-06 06:36:26 +0200
commit14298d3663e44705d3f9106343ac8298a5fdff99 (patch)
treeb1a9ae3a38780496d2c2e247e7b24b2efb086a17 /mm/slab_common.c
parentmm/page_owner.c: make early_page_owner_param() __init (diff)
downloadkernel-qcow2-linux-14298d3663e44705d3f9106343ac8298a5fdff99.tar.gz
kernel-qcow2-linux-14298d3663e44705d3f9106343ac8298a5fdff99.tar.xz
kernel-qcow2-linux-14298d3663e44705d3f9106343ac8298a5fdff99.zip
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@cn.fujitsu.com Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Philippe Ombredanne <pombredanne@nexb.com> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions