Skip to contentSkip to conversation

perf fix for v3.9

GIT PULL Ingo Molnar 3 participants 4 messages Feb 19, 2013 – Feb 20, 2013 perf events

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest perf-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus

HEAD: e97cbe3edf7d88aad4c21dd3de124d9f9d039881 perf/hwbp: Fix cleanup in case of kzalloc() failure

Leftover fix from the v3.8 cycle.

Thanks,

Ingo

------------------>
Daniel Baluta (1):
perf/hwbp: Fix cleanup in case of kzalloc() failure

 kernel/events/hw_breakpoint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/events/hw_breakpoint.c +1 -1
index fe8a916..a64f8ae 100644
@@ -676,7 +676,7 @@ int __init init_hw_breakpoint(void)
  err_alloc:
 	for_each_possible_cpu(err_cpu) {
 		for (i = 0; i < TYPE_MAX; i++)
-			kfree(per_cpu(nr_task_bp_pinned[i], cpu));
+			kfree(per_cpu(nr_task_bp_pinned[i], err_cpu));
 		if (err_cpu == cpu)
 			break;
 	}
#1 lore raw
Quoted 8 lines · Ingo Molnar

Please pull the latest perf-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus

HEAD: e97cbe3edf7d88aad4c21dd3de124d9f9d039881 perf/hwbp: Fix cleanup in case of kzalloc() failure

Leftover fix from the v3.8 cycle.

This was already in the other (big) perf pull, as commit 02e176af92f3

Linus

#2 lore raw
Quoted 4 lines · Linus Torvalds
Quoted 3 lines · Ingo Molnar

Please pull the latest perf-urgent-for-linus git tree from:

Quoted 8 lines
Quoted 5 lines

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus

HEAD: e97cbe3edf7d88aad4c21dd3de124d9f9d039881 perf/hwbp: Fix cleanup in case of kzalloc() failure

Leftover fix from the v3.8 cycle.

This was already in the other (big) perf pull, as commit 02e176af92f3

Oops, sorry - Arnaldo picked up the fix too and I never noticed the overlap.

Thanks,

Ingo

#3 lore raw

Em Wed, Feb 20, 2013 at 10:17:58AM +0100, Ingo Molnar escreveu:

Quoted 7 lines · Linus Torvalds
Quoted 5 lines · Ingo Molnar
Quoted 4 lines

Please pull the latest perf-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus
HEAD: e97cbe3edf7d88aad4c21dd3de124d9f9d039881 perf/hwbp: Fix cleanup in case of kzalloc() failure

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Leftover fix from the v3.8 cycle.

This was already in the other (big) perf pull, as commit 02e176af92f3

Oops, sorry - Arnaldo picked up the fix too and I never noticed the overlap.

Yeah, I need to have a perf/kcore, for kernel bits that are not tied to userspace ones.

- Arnaldo