From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx136.postini.com [74.125.245.136]) by kanga.kvack.org (Postfix) with SMTP id 025646B0031 for ; Mon, 5 Aug 2013 22:03:00 -0400 (EDT) Message-ID: <5200593C.7090005@huawei.com> Date: Tue, 6 Aug 2013 10:02:36 +0800 From: Li Zefan MIME-Version: 1.0 Subject: Re: [PATCH v2 3/5] cgroup, memcg: move cgroup_event implementation to memcg References: <1375632446-2581-1-git-send-email-tj@kernel.org> <1375632446-2581-4-git-send-email-tj@kernel.org> <20130805170928.GB23751@mtj.dyndns.org> In-Reply-To: <20130805170928.GB23751@mtj.dyndns.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Tejun Heo Cc: hannes@cmpxchg.org, mhocko@suse.cz, bsingharora@gmail.com, kamezawa.hiroyu@jp.fujitsu.com, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org > static struct cftype mem_cgroup_files[] = { > { > .name = "usage_in_bytes", > @@ -5973,6 +6192,12 @@ static struct cftype mem_cgroup_files[] = { > .read_u64 = mem_cgroup_hierarchy_read, > }, > { > + .name = "cgroup.event_control", > + .write_string = cgroup_write_event_control, > + .flags = CFTYPE_NO_PREFIX, > + .mode = S_IWUGO, > + }, One of the misdesign of cgroup eventfd is, cgroup.event_control is totally redunant... -- 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