Re: [PATCH v0 0/5] cgroup: Assign subsystem IDs during compile time
From: John Fastabend <hidden>
Date: 2012-08-16 22:37:52
Also in:
netdev
On 8/16/2012 1:25 PM, Daniel Wagner wrote:
Hi Neil, On 08/16/2012 09:05 PM, Neil Horman wrote:quoted
quoted
Daniel Wagner (5): cgroup: Use empty task_cls_classid() when !CONFIG_NET_CLS(_MODULE) cgroup: Move sock_update_classid() decleration to cls_cgroup.h cgroup: Protect access to task_cls_classid() when built as module cgroup: Protect access to task_netprioidx() when built as module cgroup: Assign subsystem IDs during compile timeThe series seems reasonable. I presume you've testing building and running both net_prio and net_cls as modules and monolithically? NeilYep, I spend a good bit of time rebuilding and testing all patches in the different configuration. I hope I really got the small semantic differences between net_cls and net_prio regarding the loading and unloading correct. So please have a close look at the jump label patches (#3 and #4). BTW, I have a few mores on top of these patches, e.g. merging the builtin and module version of task_cls_classid()/task_netprioidx() implementation together and getting rid of the many ifdefs in the header. But let's first get this part reviewed. thanks, daniel
Also I have another series for netprio against net-next to clean up some of the locking as suggested by Al Viro. I'll wait to submit those until after this series has been reviewed/applied. In the meantime I'll apply these to my local tree and test these.