Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'torture.2024.07.12a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

Pull torture-test updates from Paul McKenney:
"This adds MODULE_DESCRIPTION() to torture.c, locktorture.c, and
scftorture.c, and also adds 'static' to a global variable that is used
only in scftorture.c"

* tag 'torture.2024.07.12a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
scftorture: Make torture_type static
scftorture: Add MODULE_DESCRIPTION()
locktorture: Add MODULE_DESCRIPTION()
torture: Add MODULE_DESCRIPTION()

+4 -1
+1
kernel/locking/locktorture.c
··· 30 30 #include <linux/torture.h> 31 31 #include <linux/reboot.h> 32 32 33 + MODULE_DESCRIPTION("torture test facility for locking"); 33 34 MODULE_LICENSE("GPL"); 34 35 MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com>"); 35 36
+2 -1
kernel/scftorture.c
··· 43 43 44 44 #define SCFTORTOUT_ERRSTRING(s, x...) pr_alert(SCFTORT_FLAG "!!! " s "\n", ## x) 45 45 46 + MODULE_DESCRIPTION("Torture tests on the smp_call_function() family of primitives"); 46 47 MODULE_LICENSE("GPL"); 47 48 MODULE_AUTHOR("Paul E. McKenney <paulmck@kernel.org>"); 48 49 ··· 68 67 torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations."); 69 68 torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations."); 70 69 71 - char *torture_type = ""; 70 + static char *torture_type = ""; 72 71 73 72 #ifdef MODULE 74 73 # define SCFTORT_SHUTDOWN 0
+1
kernel/torture.c
··· 40 40 #include <linux/sched/rt.h> 41 41 #include "rcu/rcu.h" 42 42 43 + MODULE_DESCRIPTION("Common functions for in-kernel torture tests"); 43 44 MODULE_LICENSE("GPL"); 44 45 MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com>"); 45 46