]> git.baikalelectronics.ru Git - kernel.git/commit
module: Add support for default value for module async_probe
authorSaravana Kannan <saravanak@google.com>
Sat, 4 Jun 2022 01:01:00 +0000 (18:01 -0700)
committerLuis Chamberlain <mcgrof@kernel.org>
Mon, 11 Jul 2022 17:49:14 +0000 (10:49 -0700)
commit15b2e914446cfd3c13d110953994aa03691edd94
tree1d88893e7c2f7c6ee348bc2df20c7aa459c12d49
parent78b2439fdba20cb65ba005a85cde926ccce824e9
module: Add support for default value for module async_probe

Add a module.async_probe kernel command line option that allows enabling
async probing for all modules. When this command line option is used,
there might still be some modules for which we want to explicitly force
synchronous probing, so extend <modulename>.async_probe to take an
optional bool input so that async probing can be disabled for a specific
module.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/module/main.c