[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] patch:MiNT:KM_FREE



Am 24.12.2009, 11:04 Uhr, schrieb Andreas Schwab <schwab@linux-m68k.org>:

Direct use of modprobe with a module name is rare these days.  Normally
a module is located via matching aliases stored in a special section of
the module so that the name does not matter.

The questions for me is: Shall MiNT do the same as Linux? Is the concept in MiNT complete in any point of view yet? I would say no to both. So my patch should not be considered as the final solution, but as a currently working and as I thing secure solution. I'm not willing to complete the km-concept atm, for there are more urgent issues.

You cannot unload a running module as only the loading app can unload.

The module itself decides whether it wants to be loaded more than one time or not (again new loader needed for every new instance).

You'll probably get a resource conflict (since the loaded module is
already claiming it) and the module will not load.

That would be a rather silly way to manage this.

-Helmut