Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"

2015-09-21 Thread Tejun Heo
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:

Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"

2015-09-21 Thread Tejun Heo
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

Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"

2015-08-17 Thread Tejun Heo
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

Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"

2015-08-17 Thread Michal Hocko
[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

Re: [PATCH 8/8] memcg: generate file modified notifications on memory.events

2015-08-17 Thread Michal Hocko
[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

Re: [PATCH 8/8] memcg: generate file modified notifications on memory.events

2015-08-17 Thread Tejun Heo
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

Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"

2015-08-11 Thread Tejun Heo
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:

Re: [PATCH 8/8] memcg: generate file modified notifications on memory.events

2015-08-11 Thread Tejun Heo
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