[lkml]   [1997]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: question about modules rewrite
> Now that the kernel modules implementation has been rewritten for the
> better and the interface changed somewhat, is there any reason to have
> both sys_create_module() and sys_init_module()?

Yes. sys_create_module returns the address at which the module
should be relocated; sys_init_module copies the now-relocated
bits into kernel memory.

The only other option would be doing PIC bits as in ELF shared
libraries. Since there is no issue of sharing code between multiple
kernels, there is no need for that complication. ;-)


 \ /
  Last update: 2005-03-22 13:38    [W:0.039 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site