Use jump_label for sched_feat()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | jump_label, x86: Fix section mismatcharch/ kernel/ | +2 | 0 replies | |
| 2/3 | sched: Fix compile error for UP,!NOHZinclude/ | +1 | 1 reply | |
| 3/3 | sched: Use jump_labels for sched_featkernel/ kernel/ kernel/ | +81 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Use jump_label for sched_feat()
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.