Immediate Values
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | x86: text_poke_early non staticarch/ arch/ | +7 | 0 replies | |
| 2/12 | Immediate Values - Architecture Independent Codeinclude/ include/ include/ +4 more | +345 | 13 replies | |
| 3/12 | Immediate Values - Kconfig menu in EMBEDDEDinit/ | +18 | 0 replies | |
| 4/12 | Immediate Values - x86 Optimizationarch/ arch/ | +78 | 0 replies | |
| 5/12 | Add text_poke and sync_core to powerpcarch/ | +3 | 0 replies | |
| 6/12 | Immediate Values - Powerpc Optimizationarch/ arch/ | +57 | 0 replies | |
| 7/12 | Sparc create asm.harch/ | +11 | 1 reply | |
| 8/12 | sparc64: Optimized immediate value implementation.arch/ arch/ arch/ +2 more | +94 | 0 replies | |
| 9/12 | Immediate Values - DocumentationDocumentation/ | +221 | 0 replies | |
| 10/12 | Immediate Values Support initDocumentation/ arch/ arch/ +6 more | +54 | 2 replies | |
| 11/12 | Scheduler Profiling - Use Immediate Valuesarch/ include/ kernel/ +2 more | +19 | 0 replies | |
| 12/12 | Tracepoints - Immediate Valuesinclude/ kernel/ | +36 | 5 replies |
Reviews trailers per patch
2 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Sam Ravnborg | David S. Miller |
|---|---|---|
| 1/12 | ||
| 2/12 | ||
| 3/12 | ||
| 4/12 | ||
| 5/12 | ||
| 6/12 | ||
| 7/12 | A-b | |
| 8/12 | ||
| 9/12 | ||
| 10/12 | A-b | |
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/12] Immediate Values
Hi Ingo,
Here is an updated version of the immediate values, applying to current tip.
[impact: data-cache optimization]
The main benefit of this infrastructure is to encode read-often variables into the instruction stream. It can benefit to tracepoints by replacing the memory load by an immediate value instruction. There is still room for improvement
through: an effort to provide static jump patching is ongoing, involving the kernel and gcc communities.
Even then, the immediate values have their niche: when a value (rather than a branch selection) is read often on fast-paths, the immediate value infrastructure can encode these in the instruction stream without any d-cache cost.
Two sample users are provided: prof_on from the scheduler code and tracepoints. Feel free to merge/drop any of these.
Thanks,
Mathieu
Signature · 2 lines
Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68