linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Vladimir Davydov <vdavydov@parallels.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, cgroups@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Documentation/memcg: update memcg/kmem status
Date: Sat, 4 Apr 2015 15:29:34 +0200	[thread overview]
Message-ID: <20150404152934.2db95051@lwn.net> (raw)
In-Reply-To: <20150401151717.GE21839@esperanza>

On Wed, 1 Apr 2015 18:17:17 +0300
Vladimir Davydov <vdavydov@parallels.com> wrote:

> > So the text you've removed says not to select kmem support "unless for
> > development purposes."  Do we now believe that this feature is ready for
> > use in a production setting?  If the answer is "yes," I'd be happy to
> > take this through the docs tree.  
> 
> I added this warning because of the following issues, which made
> memcg/kmem useless:
> 
>  - no reclaim support
>  - lack of memcg slab caches auto destruction
>  - several obvious races/bugs
> 
> They are all fixed now, so I think the answer is yes, it can be used in
> production. There might be bugs that I am not aware of, of course, but
> It must be safe to compile it in anyway, because memcg/kmem accounting
> is disabled by default and must be enabled explicitly at runtime by
> writing to cgroup/memory.kmem.limit_in_bytes.

So I believe you, but I'm still a bit nervous about taking this one
because I can't really judge whether we should be advising people to turn
on this feature at this point or not.  A well-placed ack or two would
help there; otherwise, Andrew, if you think it makes sense, you can just
grab it :)

Thanks,

jon

--
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:[~2015-04-04 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 14:30 Vladimir Davydov
2015-04-01 14:44 ` Jonathan Corbet
2015-04-01 15:17   ` Vladimir Davydov
2015-04-04 13:29     ` Jonathan Corbet [this message]
2015-04-07 15:13 ` Michal Hocko
2015-04-11 13:24 ` Jonathan Corbet

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=20150404152934.2db95051@lwn.net \
    --to=corbet@lwn.net \
    --cc=akpm@linux-foundation.org \
    --cc=cgroups@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=vdavydov@parallels.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