Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752687AbbDDN3n (ORCPT ); Sat, 4 Apr 2015 09:29:43 -0400 Received: from tex.lwn.net ([70.33.254.29]:35857 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752575AbbDDN3l (ORCPT ); Sat, 4 Apr 2015 09:29:41 -0400 Date: Sat, 4 Apr 2015 15:29:34 +0200 From: Jonathan Corbet To: Vladimir Davydov Cc: Andrew Morton , , , Subject: Re: [PATCH] Documentation/memcg: update memcg/kmem status Message-ID: <20150404152934.2db95051@lwn.net> In-Reply-To: <20150401151717.GE21839@esperanza> References: <1427898636-4505-1-git-send-email-vdavydov@parallels.com> <20150401164431.1e88220a@lwn.net> <20150401151717.GE21839@esperanza> Organization: LWN.net X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1445 Lines: 35 On Wed, 1 Apr 2015 18:17:17 +0300 Vladimir Davydov 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/