[Devel] Re: [PATCH 4/4] get rid of populate for memcg

Tejun Heo tj at kernel.org
Wed Mar 21 09:19:03 PDT 2012


On Wed, Mar 21, 2012 at 09:06:10AM -0700, Tejun Heo wrote:
> I don't quite get why a protocol module would be loaded but not
> reigstered.  Do we actually have cases like that?  I know it's
> mechanically possible but don't think there's any actual use case or
> existing code which does that, so no need to worry about them.

Also, if a proto is registered from a module, it's gotta have a
module_init() which registers proto, right?  Then, the right thing to
do would be just "register proto; register cftypes;" in the function
and the reverse of that in module_exit().

-- 
tejun




More information about the Devel mailing list