From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: David Rientjes <rientjes@google.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>,
Fengguang Wu <fengguang.wu@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: BUG: tracer_alloc_buffers returned with preemption imbalance
Date: Mon, 25 Jun 2012 06:20:37 -0700 [thread overview]
Message-ID: <20120625132037.GW2516@linux.vnet.ibm.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1206250208210.24381@chino.kir.corp.google.com>
On Mon, Jun 25, 2012 at 02:10:23AM -0700, David Rientjes wrote:
> On Sun, 24 Jun 2012, Paul E. McKenney wrote:
>
> > But in my case, the trailing preempt_enable() should not have been
> > optimized away, right? Wouldn't it be more like the following?
> >
> > int a = 0;
> > int main(void)
> > {
> > a++;
> > return ++a;
> > a++;
> > }
> >
> > Hmmm... But this -still- doesn't emit any warnings.
> >
>
> gcc removed -Wunreachable-code a couple years ago. It doesn't complain
> when you pass it for backwards compatibility with old Makefiles.
Ah well, back to manual inspection, then. :-/
Thanx, Paul
prev parent reply other threads:[~2012-06-25 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-23 10:12 BUG: tracer_alloc_buffers returned with preemption imbalance Fengguang Wu
2012-06-23 17:01 ` Paul E. McKenney
2012-06-23 17:48 ` Fengguang Wu
2012-06-23 20:11 ` Paul E. McKenney
2012-06-24 8:37 ` Cong Wang
2012-06-25 3:57 ` Paul E. McKenney
2012-06-25 9:10 ` David Rientjes
2012-06-25 13:20 ` Paul E. McKenney [this message]
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=20120625132037.GW2516@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=fengguang.wu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rientjes@google.com \
--cc=xiyou.wangcong@gmail.com \
/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