Patch Upstream: oprofile, ARM: Release resources on failure
This patch doesn't apply to the .35 or .36 stable tree If someone wants it applied there, please email the backport to stable at kernel.org
thanks,
greg k-h
Quoted 35 lines
commit:
81771974ae49bf79aab60c42eac7a6d730a9ef2b
From: Robert Richter <[email protected]>
Date: Wed, 29 Sep 2010 16:52:25 +0200
Subject: [PATCH] oprofile, ARM: Release resources on failureThis patch fixes a resource leak on failure, where the oprofilefs and some counters may not released properly.
Signed-off-by Robert Richter <[email protected]>Acked-by Will Deacon <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc <[email protected]> # .35.xLKML-Reference: <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>--- drivers/oprofile/oprofile_perf.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/oprofile/oprofile_perf.c +1
-0@@ -84,6 +84,7 @@ static int op_create_counter(int cpu, int event)if (IS_ERR (pevent)) { ret =PTR_ERR (pevent); }else if (pevent->state !=PERF_EVENT_STATE_ACTIVE ) { +perf_event_release_kernel (pevent);pr_warning ("oprofile: failed to enable event %d " "on CPU %d\n" , event, cpu); ret = -EBUSY ;_______________________________________________
stable mailing list
stable at linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable
Quoted 13 lines · Greg KH
This patch doesn't apply to the .35 or .36 stable tree If someone wants it applied there, please email the backport to stable at kernel.org
thanks,
greg k-h
Quoted 4 lines
commit:
81771974ae49bf79aab60c42eac7a6d730a9ef2b
From: Robert Richter <[email protected]>
Date: Wed, 29 Sep 2010 16:52:25 +0200
Subject: [PATCH] oprofile, ARM: Release resources on failure
This patch was accidentally marked as stable. There are already fixes in .35 and .36:
98d943b02f6f1b57787ff1aa6f34d019a407e3ee upstream in .36 1b6740a13ca9774810edacafc5e12514092651e2 in .35 stable of 98d943b
-Robert
Signature · 2 lines
Advanced Micro Devices, Inc. Operating System Research Center
Quoted 15 lines · Robert Richter
Quoted 13 lines · Greg KH
This patch doesn't apply to the .35 or .36 stable tree If someone wants it applied there, please email the backport to stable at kernel.org
thanks,
greg k-h
Quoted 4 lines
commit:
81771974ae49bf79aab60c42eac7a6d730a9ef2b
From: Robert Richter <[email protected]>
Date: Wed, 29 Sep 2010 16:52:25 +0200
Subject: [PATCH] oprofile, ARM: Release resources on failure
Quoted 5 lines
This patch was accidentally marked as stable. There are already fixes in .35 and .36:
98d943b02f6f1b57787ff1aa6f34d019a407e3eeupstream in .361b6740a13ca9774810edacafc5e12514092651e2in .35 stable of 98d943b
Ok, thanks.
greg k-h