Andrej Podzimek wrote:
> Hello,
> 
> I'm coding a module that should load, run a benchmark inside the kernel
> and then unload itself...

This just sounds like a Bad Idea(TM).

Have you considered adding an ioctl for initiating/running the test?
Ideally you would pass in a callback function pointer for completion.

The upshot to this approach is you do not have to worry about
loading/unloading the module; it simply tests on-demand. You could of
course add the requisite scripting to install/uninstall the module if
needed.

Just my 0.02,

Steve

_______________________________________________
on-discuss mailing list
on-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/on-discuss

Reply via email to