kmod stress tester

modulename: test_kmod.ko

configname: CONFIG_TEST_KMOD

Linux Kernel Configuration
└─>Kernel hacking
└─>Runtime Testing
└─>kmod stress tester
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Test the kernel's module loading mechanism: kmod. kmod implements
support to load modules using the Linux kernel's usermode helper.
This test provides a series of tests against kmod.

Although technically you can either build test_kmod as a module or
into the kernel we disallow building it into the kernel since
it stress tests request_module() and this will very likely cause
some issues by taking over precious threads available from other
module load requests, ultimately this could be fatal.

To run tests run:

tools/testing/selftests/kmod/kmod.sh --help

If unsure, say N.

source code: