[Devel] Re: css_id numbering

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu May 21 00:53:14 PDT 2009


On Thu, 21 May 2009 16:30:38 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com> wrote:

> On Thu, 21 May 2009 16:28:59 +0900 (JST)
> Ryo Tsuruta <ryov at valinux.co.jp> 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 at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list