mm: memcg-v1: fix wrong linux-mm list address in deprecation warnings
Subsystems (3)
PATCH 1/1 mm: memcg-v1: fix wrong linux-mm list address in deprecation warnings
From: Guopeng Zhang <[email protected]>
The deprecation warnings for memory.oom_control and memory.pressure_level use [email protected] instead of the linux-mm mailing list address. Remove the extra hyphen.
--- mm/memcontrol-v1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/memcontrol-v1.c +3 -3
@@ -1182,13 +1182,13 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of, event->unregister_event = mem_cgroup_usage_unregister_event; }else if (!strcmp (name,"memory.oom_control" )) {pr_warn_once ("oom_control is deprecated and will be removed. " -"Please report your usecase to [email protected]" +"Please report your usecase to [email protected]" " if you depend on this functionality.\n" ); event->register_event = mem_cgroup_oom_register_event; event->unregister_event = mem_cgroup_oom_unregister_event; }else if (!strcmp (name,"memory.pressure_level" )) {pr_warn_once ("pressure_level is deprecated and will be removed. " -"Please report your usecase to [email protected] " +"Please report your usecase to [email protected] " "if you depend on this functionality.\n" ); event->register_event = vmpressure_register_event; event->unregister_event = vmpressure_unregister_event;
@@ -2340,7 +2340,7 @@ static int mem_cgroup_oom_control_write(struct cgroup_subsys_state *css,struct mem_cgroup *memcg =mem_cgroup_from_css (css);pr_warn_once ("oom_control is deprecated and will be removed. " -"Please report your usecase to [email protected] if you " +"Please report your usecase to [email protected] if you " "depend on this functionality.\n" );/* cannot set to root cgroup and only 0 and 1 are allowed */
Signature · 1 line
2.43.0
Quoted 7 lines · Guopeng Zhang
From: Guopeng Zhang <[email protected]>
The deprecation warnings for memory.oom_control and memory.pressure_level use [email protected] instead of the linux-mm mailing list address. Remove the extra hyphen.
Signed-off-by Guopeng Zhang <[email protected]>
Thanks
Altohough this is not a critical fix we would like to have that address correct also in older stable trees so I would recommend backporting to stable as well.
Quoted 36 lines
--- mm/memcontrol-v1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)mm/memcontrol-v1.c +3
-3@@ -1182,13 +1182,13 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of, event->unregister_event = mem_cgroup_usage_unregister_event; }else if (!strcmp (name,"memory.oom_control" )) {pr_warn_once ("oom_control is deprecated and will be removed. " -"Please report your usecase to [email protected]" +"Please report your usecase to [email protected]" " if you depend on this functionality.\n" ); event->register_event = mem_cgroup_oom_register_event; event->unregister_event = mem_cgroup_oom_unregister_event; }else if (!strcmp (name,"memory.pressure_level" )) {pr_warn_once ("pressure_level is deprecated and will be removed. " -"Please report your usecase to [email protected] " +"Please report your usecase to [email protected] " "if you depend on this functionality.\n" ); event->register_event = vmpressure_register_event; event->unregister_event = vmpressure_unregister_event;@@ -2340,7 +2340,7 @@ static int mem_cgroup_oom_control_write(struct cgroup_subsys_state *css,struct mem_cgroup *memcg =mem_cgroup_from_css (css);pr_warn_once ("oom_control is deprecated and will be removed. " -"Please report your usecase to [email protected] if you " +"Please report your usecase to [email protected] if you " "depend on this functionality.\n" );/* cannot set to root cgroup and only 0 and 1 are allowed */ Signature · 1 line
2.43.0
Signature · 2 lines
Michal Hocko SUSE Labs
Quoted 7 lines · Guopeng Zhang
From: Guopeng Zhang <[email protected]>
The deprecation warnings for memory.oom_control and memory.pressure_level use [email protected] instead of the linux-mm mailing list address. Remove the extra hyphen.
Signed-off-by Guopeng Zhang <[email protected]>
Quoted 11 lines · Guopeng Zhang
From: Guopeng Zhang <[email protected]>
The deprecation warnings for memory.oom_control and memory.pressure_level use [email protected] instead of the linux-mm mailing list address. Remove the extra hyphen.
Signed-off-by Guopeng Zhang <[email protected]>
Quoted 7 lines · Guopeng Zhang
From: Guopeng Zhang <[email protected]>
The deprecation warnings for memory.oom_control and memory.pressure_level use [email protected] instead of the linux-mm mailing list address. Remove the extra hyphen.
Signed-off-by Guopeng Zhang <[email protected]>