On Thu, 21 May 2009 16:28:59 +0900 (JST)
Ryo Tsuruta <r...@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.

Bye.
-Kame

_______________________________________________
Containers mailing list
contain...@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to