Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9646be22 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by alexax66
Browse files

workqueue: Provide destroy_delayed_work_on_stack()



If a delayed or deferrable work is on stack we need to tell debug
objects that we are destroying the timer and the work. Otherwise we
leak the tracking object.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20140323141939.911487677@linutronix.de


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarXileForce <rdaguiar360@gmail.com>

Original commit: https://github.com/ktoonsez/KTSGS6/commit/bdb1cadd6b5ef151fe7cbdad5db8de0b16956093
parent 8b0cc0df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment