Re: [PATCH] Kmod optimization

From: Greg KH
Date: Thu Apr 13 2006 - 14:25:22 EST


On Thu, Apr 13, 2006 at 08:03:45PM +0200, tyler@xxxxxxxx wrote:
> Hi,
>
> the request_mod functions try to load automatically a module by running
> a user mode process helper (modprobe).
>
> The user process is launched even if the module is already loaded. I
> think it would be better to test if the module is already loaded.

Does this cause a problem somehow? request_mod is called _very_
infrequently from a normal kernel these days, so I really don't think
this is necessary.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/