Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751463AbZL1MiE (ORCPT ); Mon, 28 Dec 2009 07:38:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751410AbZL1MiB (ORCPT ); Mon, 28 Dec 2009 07:38:01 -0500 Received: from RELAY.ANDREW.CMU.EDU ([128.2.10.85]:60020 "EHLO relay.andrew.cmu.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751514AbZL1MiA (ORCPT ); Mon, 28 Dec 2009 07:38:00 -0500 Date: Mon, 28 Dec 2009 07:37:34 -0500 From: Ben Blum To: Li Zefan Cc: linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, akpm@linux-foundation.org, menage@google.com, "netdev@vger.kernel.org" , bblum@andrew.cmu.edu Subject: Re: [PATCH 3/4] cgroups: net_cls as module Message-ID: <20091228123734.GA4824@andrew.cmu.edu> Mail-Followup-To: Li Zefan , linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, akpm@linux-foundation.org, menage@google.com, "netdev@vger.kernel.org" References: <20091221203253.GA5683@andrew.cmu.edu> <20091221203704.GD5683@andrew.cmu.edu> <4B385164.9070704@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B385164.9070704@cn.fujitsu.com> User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 24 On Mon, Dec 28, 2009 at 02:34:12PM +0800, Li Zefan wrote: > > Allows the net_cls cgroup subsystem to be compiled as a module > > > > From: Ben Blum > > > > This patch modifies net/sched/cls_cgroup.c to allow the net_cls subsystem to > > be optionally compiled as a module instead of builtin. The cgroup_subsys > > struct is moved around a bit to allow the subsys_id to be either declared as a > > compile-time constant by the cgroup_subsys.h include in cgroup.h, or, if it's > > a module, initialized within the struct by cgroup_load_subsys. > > > > Signed-off-by: Ben Blum > > Acked-by: Li Zefan > > But can we reorder this patch as the last patch? that does make a bit more sense, saving the unloading patch from having to touch cls_cgroup.c to add an unload_subsys() call. will do. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/