Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"
On Tue, Aug 11, 2015 at 01:58:09PM -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. > > Signed-off-by: Tejun Heo > Cc: Li Zefan > Cc: Johannes Weiner > Cc: Michal Hocko Applied to cgroup/for-4.4. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"
On Tue, Aug 11, 2015 at 01:58:09PM -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. > > Signed-off-by: Tejun Heo> Cc: Li Zefan > Cc: Johannes Weiner > Cc: Michal Hocko Applied to cgroup/for-4.4. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"
Hello, Michal. On Mon, Aug 17, 2015 at 04:30:57PM +0200, Michal Hocko wrote: > I cannot say I would be fond of the offset logic but whatever suits the > cgroup core... I don't particularly like it either but couldn't think of anything prettier. :( Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"
[Ups this was hanging in to-be-posted since last week - sorry about that] On Tue 11-08-15 14:02:36, Tejun Heo wrote: > On Tue, Aug 11, 2015 at 01:58:09PM -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. > > > > Signed-off-by: Tejun Heo > > Cc: Li Zefan > > Cc: Johannes Weiner > > Cc: Michal Hocko I cannot say I would be fond of the offset logic but whatever suits the cgroup core... Acked-by: Michal Hocko > So, this won't apply to the current -mm. Once the earlier part of the > series gets applied to cgroup/for-4.3, I'll refresh this patch on top > of -mm. I think you can route it via the same tree. -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on memory.events
[Ups this was hanging in to-be-posted since last week - sorry about that] On Tue 11-08-15 14:02:36, Tejun Heo wrote: On Tue, Aug 11, 2015 at 01:58:09PM -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. Signed-off-by: Tejun Heo t...@kernel.org Cc: Li Zefan lize...@huawei.com Cc: Johannes Weiner han...@cmpxchg.org Cc: Michal Hocko mho...@kernel.org I cannot say I would be fond of the offset logic but whatever suits the cgroup core... Acked-by: Michal Hocko mho...@suse.com So, this won't apply to the current -mm. Once the earlier part of the series gets applied to cgroup/for-4.3, I'll refresh this patch on top of -mm. I think you can route it via the same tree. -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on memory.events
Hello, Michal. On Mon, Aug 17, 2015 at 04:30:57PM +0200, Michal Hocko wrote: I cannot say I would be fond of the offset logic but whatever suits the cgroup core... I don't particularly like it either but couldn't think of anything prettier. :( Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"
On Tue, Aug 11, 2015 at 01:58:09PM -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. > > Signed-off-by: Tejun Heo > Cc: Li Zefan > Cc: Johannes Weiner > Cc: Michal Hocko So, this won't apply to the current -mm. Once the earlier part of the series gets applied to cgroup/for-4.3, I'll refresh this patch on top of -mm. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 8/8] memcg: generate file modified notifications on memory.events
On Tue, Aug 11, 2015 at 01:58:09PM -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. Signed-off-by: Tejun Heo t...@kernel.org Cc: Li Zefan lize...@huawei.com Cc: Johannes Weiner han...@cmpxchg.org Cc: Michal Hocko mho...@kernel.org So, this won't apply to the current -mm. Once the earlier part of the series gets applied to cgroup/for-4.3, I'll refresh this patch on top of -mm. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/