diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-03-23 16:58:27 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-05-14 18:46:24 +0200 |
commit | 424c1b682051c48e1da24e503b96a8a72e114ea4 (patch) | |
tree | 1c4c6780b76d625a2d124580a87619d1bc7f1a94 /Documentation/debugging-modules.txt | |
parent | rcutorture: Explicitly test synchronous grace-period primitives (diff) | |
download | linux-424c1b682051c48e1da24e503b96a8a72e114ea4.tar.xz linux-424c1b682051c48e1da24e503b96a8a72e114ea4.zip |
rcutorture: Add missing destroy_timer_on_stack()
The rcu_torture_reader() function uses an on-stack timer_list structure
which it initializes with setup_timer_on_stack(). However, it fails to
use destroy_timer_on_stack() before exiting, which results in leaking a
tracking object if DEBUG_OBJECTS is enabled. This commit therefore
invokes destroy_timer_on_stack() to avoid this leakage.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions