> On Dec 3, 2007 8:09 PM, YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx> wrote: > > +static u64 mem_cgroup_min_usage_read(struct cgroup *cont, struct cftype *cft) > > +{ > > + struct mem_cgroup *mem = mem_cgroup_from_cont(cont); > > + > > + return mem->min_usage; > > +} > > + > > This won't be atomic on a 32-bit arch, and I don't think you have any locking. > > Paul sure. probably it's better to make it a part of res_counter. YAMAMOTO Takashi _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers