From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Wagner Subject: [PATCH v3 0/6] cgroup cls & netprio 'cleanups' Date: Tue, 14 Aug 2012 15:02:16 +0200 Message-ID: <1344949343-26090-1-git-send-email-wagi@monom.org> Cc: Daniel Wagner , "David S. Miller" , Al Viro , Andrew Morton , Eric Dumazet , Gao feng , Glauber Costa , Jamal Hadi Salim , John Fastabend , Kamezawa Hiroyuki , Li Zefan , Neil Horman , Tejun Heo , Tim Chen To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org From: Daniel Wagner Hi, Sorry for the delay on updating this series. The usual excuse apply here. I saw that John is busy improving net_prio so I took the liberty to port his changes to net_cls (#1-3). Patch #3 will collide with John's unapplied patches. I am happy to rebase this series if needed. Patch #4 and #5 improve the readability with using IS_MODULE/BUILTIN macros. This patches prepare the last patch. Patch #6 removes support for assigning subsystem IDs during runtime. As it turns out this is not really needed. By doing so we are able to free some unused memory. The patches are against net-next. cheers, daniel Cc: "David S. Miller" Cc: Al Viro Cc: Andrew Morton Cc: Eric Dumazet Cc: Gao feng Cc: Glauber Costa Cc: Jamal Hadi Salim Cc: John Fastabend Cc: Kamezawa Hiroyuki Cc: Li Zefan Cc: Neil Horman Cc: Tejun Heo Cc: Tim Chen Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Daniel Wagner (6): cgroup: Move cls function definition to cls_cgroup.h cgroup: net_cls rework update socket logic cgroup: Update classid for fd pass in SCM_RIGHTS datagramm cgroup: Use IS_MODULE/BUITLIN for net_cls cgroup: Use IS_MODULE/BUITLIN for net_prio cgroup: Assign subsystem IDs during compile time include/linux/cgroup.h | 20 ++++++++++------ include/linux/cgroup_subsys.h | 24 +++++++++---------- include/net/cls_cgroup.h | 36 +++++++++++----------------- include/net/netprio_cgroup.h | 38 +++++++---------------------- include/net/sock.h | 8 ------- kernel/cgroup.c | 31 +++++++----------------- net/core/netprio_cgroup.c | 19 ++++++--------- net/core/scm.c | 7 +++++- net/core/sock.c | 29 ++++++++++++---------- net/sched/cls_cgroup.c | 56 +++++++++++++++++++++++++++++++++---------- net/socket.c | 8 ------- 11 files changed, 129 insertions(+), 147 deletions(-) -- 1.7.12.rc1.16.g05a20c8