OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] remove __net_initdata attribute
Re: [PATCH] remove __net_initdata attribute [message #22362 is a reply to message #22360] Fri, 26 October 2007 11:26 Go to previous messageGo to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
Dave, I am sorry, plz disregard the patch :(

- if the file is a part of the kernel, __exit (and pernet_unregister)
  will never called and should be dropped
- if the file is a part of a module, __init is NOT dropped on the
  module loading stage

So, we can still make embedded people happy :) Thanks Pavel to pointing
me this out.

Denis V. Lunev wrote:
> The discussion with Eric W. Biederman reveals that the concept for
> __net_initdata is bogus. The ->exit method of pernet_operations
> should be called during module exit.
> 
> So, discard this attribute.
> 
> Signed-off-by: Denis V. Lunev <den@openvz.org>
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] Move cgroups destroy() callbacks to cgroup_diput()
Next Topic: Q: How complete is the pid namespace in mainline
Goto Forum:
  


Current Time: Thu Oct 16 03:22:48 GMT 2025

Total time taken to generate the page: 0.21259 seconds