On Mon, Jun 15, 2009 at 12:00:35PM +0900, Minoru Usui wrote: > Actually, In tc <-> kernel I/F (which uses netlink), tc sets classid to hexadecimal style not X:Y style. > X:Y style is result of translating by tc command. > > I thought this patch was very useful at first, but it's not necessary to implementing to the kernel. > This function can be implemented on user space if we need. > And we can also keep compatibility of net_cls.classid I/F. :-) > > I drop this patch. I'm sorry for confusing a lot of people. I found this patch to be extremely useful if it wasn't to break compatibility but that issue can be resolved by accepting both formats easly. A classid is in a fact a set of two 16 bit integers and everyone is used to the X:Y notation. procfs and sysfs ought to be userfriendly to a certain degree and adding such a small parser to cls_cgroup doesn't harm anyone. _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers