[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090416031504.GC7082@balbir.in.ibm.com>
Date: Thu, 16 Apr 2009 08:45:04 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: Dan Malek <dan@...eddedalley.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Paul Menage <menage@...gle.com>
Subject: Re: [PATCH] Memory usage limit notification addition to memcg
* Dan Malek <dan@...eddedalley.com> [2009-04-15 10:35:20]:
>
> On Apr 15, 2009, at 1:24 AM, Balbir Singh wrote:
>
>> Welcome! I've taken a cursory look at the patches, but I'll come back
>> with more review comments.
>
> I'm going to submit a new patch shortly, so let's wait and review that
> one. Too many updates since the first time I sent it.
>
OK, I was going to advice using cgroupstats for notification.
cgroupstats builds on top of taskstats
Please see
1. Documentation/accounting/*
2. kernel/taskstats.c
getdelays.c (available under (1)) provides the user space application
to make use of taskstats and cgroupstats.
Using that will allow you to
1. Provide type information with every event (extensible)
2. Reuses existing well tested code in the form of genetlink and
netlink
>> ... Could you point me to your
>> presentation/paper? I could not find the PDF at
>> http://www.celinuxforum.org/CelfPubWiki/ELC2009Presentations
>
> Apologies. I just uploaded it now. There was an hour of
> talking that goes along with that, which I hope will explain some
> of the points on the slides. The video was recorded, I assume it
> will show up someplace, someday :-)
>
I was able to download it, Thanks!
--
Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists