busybox/modutils
Denys Vlasenko 1fd844267c modprobe-small: if concurrent module load did not succeed, wait
usecase:
two sd cards are being mounted in parallel at same time on dual core. example
modules which are getting loaded is  nls_cp437. While one module is being
loaded , it makes state in /proc/modules as 'coming' and then starts doing its
module init function (in our case - registering nls). meanwhile on other core,
if modprobe returns that is has already been loaded, then it will continue
and search for the nls list which is not yet finished from first module init.
This fails resulting in not mounting sd card.

function                                             old     new   delta
process_module                                       667     746     +79

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-02-12 17:05:14 +01:00
..
Config.src Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX" 2011-02-26 22:24:08 +01:00
depmod_process.sh depmod: fix handling of .gz modules 2009-05-18 13:08:04 +02:00
depmod.c depmod: simple memory optimization 2015-01-24 22:30:30 +01:00
insmod.c modprobe-small: fix help messages for aliased module-related applets 2014-04-19 15:04:39 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
lsmod.c mass removal of underscores from _BB_DIR_foo and _BB_SUID_foo 2011-01-18 13:58:01 +01:00
modinfo.c modinfo: fix module parsing with kernel >= 2.6.37 2014-07-04 16:39:28 +02:00
modprobe-small.c modprobe-small: if concurrent module load did not succeed, wait 2015-02-12 17:05:14 +01:00
modprobe.c modprobe: fix modprobe -r and parsing of /etc/modprobe.d 2015-01-19 19:15:24 +01:00
modutils-24.c stop declariong our own dirname prototype 2011-09-10 13:48:34 +02:00
modutils.c depmod: simple memory optimization 2015-01-24 22:30:30 +01:00
modutils.h modprobe/insmod: fix parameter quoting 2011-02-02 00:01:07 +01:00
rmmod.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00