On Tue, 4 Dec 2007 16:01:21 +0900 (JST) yamamoto@xxxxxxxxxxxxx (YAMAMOTO Takashi) wrote: > > BTW, how about add a status to res_counter ? > > My (based on your) current patch uses watermark_state. > > > > Maybe we can change it to be resource_state and show following status. > > > > RES_STATE_HIT_LIMIT, > > RES_STATE_ABOVE_HWATER, > > RES_STATE_ABOVE_LWATER, > > RES_STATE_STABLE, ? > > RES_STATE_BELOW_MIN, > > > > Useful ? > > how about making res_counter use seq_lock? > I thought of that when I wrote hi/low watermark patches. But I didn't try.... Hmm, but maybe worth trying. Pavel, can we change res_counter->lock to seq_lock ? If we can, I'll write a patch. Thanks, -Kame _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers