Re: question about modules rewrite

Matthias Urlichs (
5 Jan 1997 16:15:25 +0100

In, article <>,
Tom Dyas <> writes:
> 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()?

You have to get a kernel address for the module (create_module). Then you
need to relocate the module, load the code into the kernel, and initialize
it (init_module).

If you want to use just one syscall then you need to have the relocating
code within the kernel. This is stupid, IMHO.

Progress is man's ability to complicate simplicity.
	-- Thor Heyerdahl.
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP Nürnberg 
Schleiermacherstraße 12   \   Linux+Internet   /   EMail:
90491 Nürnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="">here</A>.    42