All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] perf fix for v3.9
@ 2013-02-19 14:16 Ingo Molnar
  2013-02-20  1:59 ` Linus Torvalds
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2013-02-19 14:16 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Peter Zijlstra, Arnaldo Carvalho de Melo,
	Frédéric Weisbecker, Andrew Morton

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(-)

diff --git a/kernel/events/hw_breakpoint.c b/kernel/events/hw_breakpoint.c
index fe8a916..a64f8ae 100644
--- a/kernel/events/hw_breakpoint.c
+++ b/kernel/events/hw_breakpoint.c
@@ -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;
 	}

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] perf fix for v3.9
  2013-02-19 14:16 [GIT PULL] perf fix for v3.9 Ingo Molnar
@ 2013-02-20  1:59 ` Linus Torvalds
  2013-02-20  9:17   ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2013-02-20  1:59 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linux Kernel Mailing List, Peter Zijlstra,
	Arnaldo Carvalho de Melo, Frédéric Weisbecker,
	Andrew Morton

On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar <mingo@kernel.org> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] perf fix for v3.9
  2013-02-20  1:59 ` Linus Torvalds
@ 2013-02-20  9:17   ` Ingo Molnar
  2013-02-20 14:10     ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2013-02-20  9:17 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, Peter Zijlstra,
	Arnaldo Carvalho de Melo, Fr??d??ric Weisbecker, Andrew Morton


* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar <mingo@kernel.org> wrote:
> >
> > 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

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

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] perf fix for v3.9
  2013-02-20  9:17   ` Ingo Molnar
@ 2013-02-20 14:10     ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2013-02-20 14:10 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linus Torvalds, Linux Kernel Mailing List, Peter Zijlstra,
	Fr??d??ric Weisbecker, Andrew Morton

Em Wed, Feb 20, 2013 at 10:17:58AM +0100, Ingo Molnar escreveu:
> * Linus Torvalds <torvalds@linux-foundation.org> wrote:
> > On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar <mingo@kernel.org> wrote:
> > > 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

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-20 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19 14:16 [GIT PULL] perf fix for v3.9 Ingo Molnar
2013-02-20  1:59 ` Linus Torvalds
2013-02-20  9:17   ` Ingo Molnar
2013-02-20 14:10     ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.