On Thu, 21 May 2009 16:30:38 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote: > On Thu, 21 May 2009 16:28:59 +0900 (JST) > Ryo Tsuruta <ryov@xxxxxxxxxxxxx> wrote: > > > Hi Kamezawa-san, > > > > I have a suggestion for css_id numbering. How about using the same > > numbering scheme as process ID for css_id instead of idr? It prevents > > the same ID from being reused quickly. > > process ID is not "short"(2bytes). > > > blkio-cgroup can benefit from it. If some pages still have an old ID, > > it can somewhat prevents IOs associated with those pages from being > > charged for a new cgroup which are reusing the old ID. > > plz see memcg's code. no reuse if id is still used. > plz see when free_css_id() is called. Thanks, -Kame _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers