Re: [PATCH 0/4][RFC] jump label: introduce default true branch

From: Peter Zijlstra
Date: Wed Dec 21 2011 - 14:49:56 EST


On Wed, 2011-12-21 at 14:09 -0500, Jason Baron wrote:
> Hi Peter,
>
> I've introduced a new static_branch_def_true() construct, such that the straight
> line path is the true branch, and we patch a jump to get to the false branch.

> I think this patch series should address the issues that came up with sched_feat()
> implementation.

Nice trick, I've only casually read patch 1 because my brain gave up for
the day, but I'll have a closer look tomorrow.


--
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/