From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx200.postini.com [74.125.245.200]) by kanga.kvack.org (Postfix) with SMTP id 6CBB96B0031 for ; Thu, 8 Aug 2013 21:00:36 -0400 (EDT) Received: by mail-vb0-f46.google.com with SMTP id p13so3743878vbe.33 for ; Thu, 08 Aug 2013 18:00:35 -0700 (PDT) Date: Thu, 8 Aug 2013 21:00:32 -0400 From: Tejun Heo Subject: Re: [PATCHSET cgroup/for-3.12] cgroup: make cgroup_event specific to memcg Message-ID: <20130809010032.GA14792@mtj.dyndns.org> References: <20130805162958.GF19631@mtj.dyndns.org> <20130805191641.GA24003@dhcp22.suse.cz> <20130805194431.GD23751@mtj.dyndns.org> <20130806155804.GC31138@dhcp22.suse.cz> <20130806161509.GB10779@mtj.dyndns.org> <20130807121836.GF8184@dhcp22.suse.cz> <20130807124321.GA27006@htj.dyndns.org> <20130807132613.GH8184@dhcp22.suse.cz> <20130807133645.GE27006@htj.dyndns.org> <5203081C.8050403@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5203081C.8050403@huawei.com> Sender: owner-linux-mm@kvack.org List-ID: To: Li Zefan Cc: Michal Hocko , hannes@cmpxchg.org, bsingharora@gmail.com, kamezawa.hiroyu@jp.fujitsu.com, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Hello, Li. On Thu, Aug 08, 2013 at 10:53:16AM +0800, Li Zefan wrote: > I would like to see this happen. I have a feeling that we're deprecating > features a bit aggressively without providing alternatives. I'd rework it prolly next week but this has to go one way or another. There's no way we're implementing userland interface this complex in cgroup proper. It is a gross layering violation. We don't implement userland visible interface this complex in low level subsystems. It's wrong both in principle and leads to all sorts of problems in practice like ending up worrying about userland abuses in memcg event source implementation, which is utterly bonkers if you ask me. Thanks. -- tejun -- 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: email@kvack.org