Re: [PATCH] Memory usage limit notification addition to memcg

From: Balbir Singh
Date: Wed Apr 15 2009 - 23:16:14 EST


* Dan Malek <dan@xxxxxxxxxxxxxxxxx> [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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/