]> git.karo-electronics.de Git - karo-tx-linux.git/commit
oprofile: Free potentially owned tasks in case of errors
authorRobert Richter <robert.richter@amd.com>
Thu, 26 May 2011 16:22:54 +0000 (18:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:39 +0000 (15:05 -0700)
commit409dbd2f927fe65ffad9eb57253abded37ed1905
tree67814ac32ac9b1f914a3c17a189f0fe2c80fa545
parentf94e820b157193b5b518aa891f5f19da5c9ab395
oprofile: Free potentially owned tasks in case of errors

commit 6ac6519b93065625119a347be1cbcc1b89edb773 upstream.

After registering the task free notifier we possibly have tasks in our
dying_tasks list. Free them after unregistering the notifier in case
of an error.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/oprofile/buffer_sync.c