[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131016064659.GA22509@gmail.com>
Date: Wed, 16 Oct 2013 08:46:59 +0200
From: Ingo Molnar <mingo@...nel.org>
To: "H. Peter Anvin" <hpa@...ux.intel.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Roel Kluin <roel.kluin@...il.com>,
Andrew Jones <drjones@...hat.com>,
Raghavendra K T <raghavendra.kt@...ux.vnet.ibm.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] jump_label: unlikely(x) > 0
* H. Peter Anvin <hpa@...ux.intel.com> wrote:
> On 10/11/2013 01:57 PM, Andrew Morton wrote:
> >
> > I'm sure this was intended instead ;) The patch doesn't seem to make
> > any difference in code generation with my gcc.
> >
>
> Which is odd, because doesn't unlikely() booleanize?
It's supposed to:
include/linux/compiler.h:#define unlikely_notrace(x) __builtin_expect(!!(x), 0)
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists