Refactor spinlock inlining
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | locking: Make inlining decision Kconfig basedarch/ arch/ include/ +3 more | +284 | 4 replies | |
| 2/2 | locking: Reduce ifdefs in kernel/spinlock.ckernel/ | +128 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra | Heiko Carstens | Ingo Molnar |
|---|---|---|---|
| 1/2 | A-b A-b | A-b A-b | R-b |
| 2/2 | A-b | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [patch 0/2] Refactor spinlock inlining
While moving preempt-rt to 2.6.32-rc I tripped over the spinlock inlining changes and had a hard time to figure out when and which lock function is inlined as the __always_inline__ defines are not directly controlling the inlining because there are overrides depending on various config options.
Merging the -rt modifications into this results in a horrible mess and I tried to find a solution which simplifies the inlining decisions and makes it more obvious when the decision is taken.
To allow easier intergration of preempt-rt I reworked the inline decision ifdeffery to be completely Kconfig based.
The result is slightly smaller in code lines, but adds a Kconfig file which contains all the rules of inlining decisions. Architecturs can select each locking function for inlining in the arch Kconfig instead of defining __always_inline__*.
Thanks,
tglx