Re: [PATCH 3/4] memcg: initiate deprecation of oom_control

Andrew Morton
2024-08-14T21:52:02Z

On Wed, 14 Aug 2024 14:00:03 -0700 "T.J. Mercier" <tjmercier@google.com> wrote:

> > --- a/mm/memcontrol-v1.c
> > +++ b/mm/memcontrol-v1.c
> > @@ -1907,6 +1907,9 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of,
> > event->register_event = mem_cgroup_usage_register_event;
> > 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 linux-mm-@kvack.org"
> > + " if you depend on this functionality. \n";
>
> Missing close paren?

err yes, thanks.

V2, please ;)