linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Li RongQing <roy.qing.li@gmail.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: cgroups@vger.kernel.org, linux-mm@kvack.org,
	Johannes Weiner <hannes@cmpxchg.org>,
	Vladimir Davydov <vdavydov@virtuozzo.com>
Subject: Re: [PATCH][V2] mm: memcontrol: fix the margin computation in mem_cgroup_margin
Date: Thu, 26 May 2016 09:28:13 +0800	[thread overview]
Message-ID: <CAJFZqHwYC_BbTNG=5=LYxo+6q6HadEMDkVTcZS1eCqXoD=6HnA@mail.gmail.com> (raw)
In-Reply-To: <20160525155122.GK20132@dhcp22.suse.cz>

On Wed, May 25, 2016 at 11:51 PM, Michal Hocko <mhocko@kernel.org> wrote:
> This is quite hard for me to grasp. What would you say about the
> following:
> "
> mem_cgroup_margin might return memory.limit - memory_count when
> the memsw.limit is in excess. This
> doesn't happen usually because we do not allow excess on hard limits and
> memory.limit <= memsw.limit but __GFP_NOFAIL charges can force the charge
> and cause the excess when no memory is really swapable (swap is full or
> no anonymous memory is left).


Sorry for my poor English, thanks for your description, hope it can be
into the log

-Roy

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2016-05-26  1:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24  5:37 [PATCH][V2] mm: memcontrol: fix the margin computation in mem_cgroup_margin roy.qing.li
2016-05-25 15:51 ` Michal Hocko
2016-05-26  1:28   ` Li RongQing [this message]

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='CAJFZqHwYC_BbTNG=5=LYxo+6q6HadEMDkVTcZS1eCqXoD=6HnA@mail.gmail.com' \
    --to=roy.qing.li@gmail.com \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=vdavydov@virtuozzo.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;
as well as URLs for NNTP newsgroup(s).