linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Yafang Shao <laoar.shao@gmail.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: David Hildenbrand <david@redhat.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	 Vladimir Davydov <vdavydov.dev@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	 Linux MM <linux-mm@kvack.org>
Subject: Re: [PATCH v2] mm, memcg: avoid oom if cgroup is not populated
Date: Wed, 27 Nov 2019 20:01:22 +0800	[thread overview]
Message-ID: <CALOAHbAGfAzvMLEF7DJyBBr_VvbZK8yuNK1tTXuGEimeXh+BDA@mail.gmail.com> (raw)
In-Reply-To: <20191127115830.GQ20912@dhcp22.suse.cz>

On Wed, Nov 27, 2019 at 7:58 PM Michal Hocko <mhocko@kernel.org> wrote:
>
> On Wed 27-11-19 19:35:03, Yafang Shao wrote:
> [...]
> > > 3. I think I agree with Michal that modifying the limits smells more
> > > like a configuration thingy to be handled by an admin (especially, adapt
> > > min/max properly). But again, not sure where that change is located :)
> > >
> >
> > I agree with you all, but that is Michal told me to do. See above and
> > the disccussion in this thread.
>
> Look, I have tried to help you here.

Thanks for your help and patience.

> I have explained why force_empty is
> not a part of cgroup v2. I have suggested to use hard limit to achieve
> a similar outcome. The OOM killer is a natural part of the hard limit -
> I guess I could have been more explicit about that. As Johannes noted
> high limit can be used as well (you need to have a task in the memcg
> context for that to be effective).
>

I trust you so I tried your solution.

> Since then you have tried to tweak the code here and there with a very
> weak justification and now you are complaining and questioning my
> expertise. Please think about your attitude.
>

I'm sorry if my wrong expression offend you, which is not I mean to.

Thanks
Yafang


  reply	other threads:[~2019-11-27 12:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-27  1:28 Yafang Shao
2019-11-27  8:54 ` Michal Hocko
2019-11-27  9:17   ` Yafang Shao
2019-11-27  9:33     ` Yafang Shao
2019-11-27 11:11 ` David Hildenbrand
2019-11-27 11:35   ` Yafang Shao
2019-11-27 11:58     ` Michal Hocko
2019-11-27 12:01       ` Yafang Shao [this message]
2019-11-27 11:41   ` Michal Hocko
2019-11-27 11:55     ` Yafang Shao
2019-11-27 11:57     ` David Hildenbrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALOAHbAGfAzvMLEF7DJyBBr_VvbZK8yuNK1tTXuGEimeXh+BDA@mail.gmail.com \
    --to=laoar.shao@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@redhat.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=vdavydov.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox