Messages in this thread |  | | Date | Fri, 14 Apr 2006 12:57:00 +0200 | | From | <> | | | Subject | Re: [PATCH] Kmod optimization |
On Thu, Apr 13, 2006 at 04:13:30PM -0700, Greg KH wrote:
> The kernel will not call out to try to resolve the symbols, that's up to
> userspace to handle. Hint, try running 'modprobe moduleA.ko' instead,
> it will handle the dependancies correctly.
>
> I still don't see where this is really needed...
>
> thanks,
>
> greg k-h
I meant, the purpose of request_module is to handle dependencies from the
kernel : if we need a functionnality, we request it. It's the definition
of dependency.
But I understood the mechanism by reading some request_module examples.
In fact, we test the avalaibility of the functionnality before calling
the request_module function.
So the case described in my previous message would normally never
happen.
if (!functionnality_not_avalaible) {
module_request(functionnality)
if (!functionnality_not_avalaible)
goto error;
}
Sorry, so the discussion is closed : forget it :)
--
tyler
tyler@agat.net
___________________________________________________________________________
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services pr |  |