From: Johannes Weiner Subject: Re: [PATCH v2 8/8] memcg: generate file modified notifications on "memory.events" Date: Sat, 19 Sep 2015 12:15:12 +0200 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 Return-path: Content-Disposition: inline In-Reply-To: <20150918220159.GB2893-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tejun Heo Cc: lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.