public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: mingo@elte.hu
Cc: a.p.zijlstra@chello.nl, linux-kernel@vger.kernel.org
Subject: __hw_perf_counter_init() on x86
Date: Tue, 08 Sep 2009 23:49:18 -0700 (PDT)	[thread overview]
Message-ID: <20090908.234918.174793485.davem@davemloft.net> (raw)


It seems that for most of the error returns this function
can give, we'll leak the active_counters count grabbed
at the beginning of the function and therefore we'll never
re-enable the LAPIC NMI watchdog even once all the perf
counter users go away.

Just FYI...

             reply	other threads:[~2009-09-09  6:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09  6:49 David Miller [this message]
2009-09-09  8:04 ` __hw_perf_counter_init() on x86 Peter Zijlstra
2009-09-09  8:30   ` David Miller
2009-09-20 18:06   ` [tip:perfcounters/urgent] perf_counter: x86: Fix PMU resource leak tip-bot for Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090908.234918.174793485.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox