All of lore.kernel.org
 help / color / mirror / Atom feed
From: <tyler@agat.net>
To: linux-kernel@vger.kernel.org
Cc: Greg KH <gregkh@suse.de>
Subject: Re: [PATCH] Kmod optimization
Date: Fri, 14 Apr 2006 12:57:00 +0200	[thread overview]
Message-ID: <20060414105700.GA4153@Starbuck> (raw)
In-Reply-To: <20060413231330.GA6760@suse.de>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1261 bytes --]

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éférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. 
Rendez-vous sur http://fr.yahoo.com/set

  reply	other threads:[~2006-04-14 10:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 18:03 [PATCH] Kmod optimization tyler
2006-04-13 18:19 ` Randy.Dunlap
2006-04-13 18:57   ` Jan Engelhardt
2006-04-13 18:24 ` Greg KH
2006-04-13 18:36   ` tyler
2006-04-13 18:50     ` Greg KH
2006-04-13 19:04       ` tyler
2006-04-13 22:53         ` Roman Zippel
2006-04-13 23:13         ` Greg KH
2006-04-14 10:57           ` tyler [this message]
2006-04-13 19:10     ` Paulo Marques
2006-04-13 19:17       ` tyler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060414105700.GA4153@Starbuck \
    --to=tyler@agat.net \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.