[Devel] Re: [PATCH 1/2] Resource usage threshold notification addition to res_counter (v3)

2009-07-13 Thread KAMEZAWA Hiroyuki
On Mon, 13 Jul 2009 17:16:20 -0700 Vladislav Buzov vbu...@embeddedalley.com wrote: This patch updates the Resource Counter to add a configurable resource usage threshold notification mechanism. Signed-off-by: Vladislav Buzov vbu...@embeddedalley.com Signed-off-by: Dan Malek

[Devel] Re: [PATCH 1/2] Resource usage threshold notification addition to res_counter (v3)

2009-07-13 Thread Paul Menage
As I mentioned in another thread, I think that associating the threshold with the res_counter rather than with each individual waiter is a mistake, since it creates global state and makes it hard to have multiple waiters on the same cgroup. Paul On Mon, Jul 13, 2009 at 5:16 PM, Vladislav

[Devel] Re: [PATCH 1/2] Resource usage threshold notification addition to res_counter (v3)

2009-07-13 Thread KAMEZAWA Hiroyuki
On Mon, 13 Jul 2009 17:36:40 -0700 Paul Menage men...@google.com wrote: As I mentioned in another thread, I think that associating the threshold with the res_counter rather than with each individual waiter is a mistake, since it creates global state and makes it hard to have multiple waiters

[Devel] Re: [PATCH 1/2] Resource usage threshold notification addition to res_counter (v3)

2009-07-13 Thread KAMEZAWA Hiroyuki
On Mon, 13 Jul 2009 18:29:01 -0700 Vladislav D. Buzov vbu...@embeddedalley.com wrote: KAMEZAWA Hiroyuki wrote: On Mon, 13 Jul 2009 17:16:20 -0700 Vladislav Buzov vbu...@embeddedalley.com wrote: This patch updates the Resource Counter to add a configurable resource usage