Re: [GIT PULL] perf fix for v3.9

2013-02-20 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 20, 2013 at 10:17:58AM +0100, Ingo Molnar escreveu:
> * Linus Torvalds  wrote:
> > On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar  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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] perf fix for v3.9

2013-02-20 Thread Ingo Molnar

* Linus Torvalds  wrote:

> On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar  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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] perf fix for v3.9

2013-02-20 Thread Ingo Molnar

* Linus Torvalds torva...@linux-foundation.org wrote:

 On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar mi...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] perf fix for v3.9

2013-02-20 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 20, 2013 at 10:17:58AM +0100, Ingo Molnar escreveu:
 * Linus Torvalds torva...@linux-foundation.org wrote:
  On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar mi...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] perf fix for v3.9

2013-02-19 Thread Linus Torvalds
On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar  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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] perf fix for v3.9

2013-02-19 Thread Ingo Molnar
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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] perf fix for v3.9

2013-02-19 Thread Ingo Molnar
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;
}
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] perf fix for v3.9

2013-02-19 Thread Linus Torvalds
On Tue, Feb 19, 2013 at 6:16 AM, Ingo Molnar mi...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/