diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-12 16:18:39 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-12 17:05:14 +0100 |
commit | 1fd844267c3ad60e9122e141768e823e6ad74a28 (patch) | |
tree | 2a02a15313320bcb3a7d53f02743603a79a4333e /util-linux/volume_id/ext.c | |
parent | 622a7aab2c4a918c0e71931505f5c38d66d81ad9 (diff) | |
download | busybox-1fd844267c3ad60e9122e141768e823e6ad74a28.tar.gz |
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>
Diffstat (limited to 'util-linux/volume_id/ext.c')
0 files changed, 0 insertions, 0 deletions