From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754765AbbISKPX (ORCPT ); Sat, 19 Sep 2015 06:15:23 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:46427 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbbISKPV (ORCPT ); Sat, 19 Sep 2015 06:15:21 -0400 Date: Sat, 19 Sep 2015 12:15:12 +0200 From: Johannes Weiner To: Tejun Heo Cc: lizefan@huawei.com, mhocko@kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/8] memcg: generate file modified notifications on "memory.events" Message-ID: <20150919101512.GA16043@cmpxchg.org> References: <1439315889-3492-1-git-send-email-tj@kernel.org> <1439315889-3492-9-git-send-email-tj@kernel.org> <20150918220159.GB2893@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150918220159.GB2893@mtj.duckdns.org> User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 18, 2015 at 06:01:59PM -0400, Tejun Heo wrote: > cgroup core only recently grew generic notification support. Wire up > "memory.events" so that it triggers a file modified event whenever its > content changes. > > v2: Refreshed on top of mem_cgroup relocation. > > Signed-off-by: Tejun Heo > Acked-by: Michal Hocko > Cc: Li Zefan > Cc: Johannes Weiner Acked-by: Johannes Weiner > Once cgroup/for-4.4 gets propagated to mm, this should apply cleanly. > Alternatively, I can apply it through the cgroup tree. Which would > you prefer? cgroup tree works for me.