Re: [PATCH 00/10] jump label: introduce very_[un]likely + cleanups+ docs

From: H. Peter Anvin
Date: Tue Feb 21 2012 - 15:09:45 EST


On 02/21/2012 12:02 PM, Jason Baron wrote:
> Hi,
>
> Renames 'static_branch()' -> very_unlikely(), hopefully, to be more intuitive
> as to what jump labels is about. I'm also introducing 'very_likely()', as
> the analogue to very_unlikely(). Patch is against the -tip perf branch.
>

Erk... I'm not happy about this. very_unlikely() makes it sound like it
operates like unlikely(), which really is not the case. There is a huge
difference in mechanism here as well as usage.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/