[PATCH 0/3] Use jump_label for sched_feat()

From: Peter Zijlstra
Date: Tue Dec 06 2011 - 12:31:32 EST


These patches implement sched_feat() using jump_labels. The first is a section
mismatch fix. The second patch provides a little infrastructure and the third
patch applies it to make sched_feat() use static_branch().

It uses static_branch() coupled with unlikely/likely in order to control the
branch block position. I haven't checked if it works, but it likely doesn't,
although it should.


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