qspinlock stuff -v15
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 86 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | qspinlock: A simple generic 4-byte queue spinlockinclude/ include/ kernel/ +3 more | +408 | 0 replies | |
| 1/9 | qspinlock: A simple generic 4-byte queue spinlockinclude/ include/ kernel/ +3 more | +408 | 0 replies | |
| 1/9 | qspinlock: A simple generic 4-byte queue spinlockinclude/ include/ kernel/ +3 more | +408 | 0 replies | |
| 2/9 | qspinlock, x86: Enable x86-64 to use queue spinlockarch/ arch/ arch/ +1 more | +30 | 0 replies | |
| 2/9 | qspinlock, x86: Enable x86-64 to use queue spinlockarch/ arch/ arch/ +1 more | +30 | 0 replies | |
| 3/9 | qspinlock: Add pending bitinclude/ kernel/ | +107 | 0 replies | |
| 3/9 | qspinlock: Add pending bitinclude/ kernel/ | +107 | 0 replies | |
| 3/9 | qspinlock: Add pending bitinclude/ kernel/ | +107 | 0 replies | |
| 4/9 | qspinlock: Extract out code snippets for the next patchinclude/ kernel/ | +62 | 0 replies | |
| 4/9 | qspinlock: Extract out code snippets for the next patchinclude/ kernel/ | +62 | 0 replies | |
| 5/9 | qspinlock: Optimize for smaller NR_CPUSinclude/ kernel/ | +83 | 0 replies | |
| 5/9 | qspinlock: Optimize for smaller NR_CPUSinclude/ kernel/ | +83 | 0 replies | |
| 6/9 | qspinlock: Use a simple write to grab the lockkernel/ | +45 | 0 replies | |
| 6/9 | qspinlock: Use a simple write to grab the lockkernel/ | +45 | 0 replies | |
| 7/9 | qspinlock: Revert to test-and-set on hypervisorsarch/ include/ kernel/ | +24 | 0 replies | |
| 7/9 | qspinlock: Revert to test-and-set on hypervisorsarch/ include/ kernel/ | +24 | 0 replies | |
| 8/9 | qspinlock: Generic paravirt supportinclude/ kernel/ kernel/ | +248 | 47 replies | |
| 8/9 | qspinlock: Generic paravirt supportinclude/ kernel/ kernel/ | +248 | 0 replies | |
| 9/9 | qspinlock,x86,kvm: Implement KVM support for paravirt qspinlockarch/ arch/ arch/ +6 more | +163 | 8 replies | |
| 9/9 | qspinlock, x86, kvm: Implement KVM support for paravirt qspinlockarch/ arch/ arch/ +6 more | +163 | 0 replies |
Reviews trailers per patch
None of the 20 patches has a Reviewed-by or Acked-by.
| Patch | Raghavendra K T |
|---|---|
| Series | T-b T-b T-b |
| 1/9 | |
| 1/9 | |
| 1/9 | |
| 2/9 | |
| 2/9 | |
| 3/9 | |
| 3/9 | |
| 3/9 | |
| 4/9 | |
| 4/9 | |
| 5/9 | |
| 5/9 | |
| 6/9 | |
| 6/9 | |
| 7/9 | |
| 7/9 | |
| 8/9 | |
| 8/9 | |
| 9/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] qspinlock stuff -v15
Hi Waiman,
As promised; here is the paravirt stuff I did during the trip to BOS last week.
All the !paravirt patches are more or less the same as before (the only real change is the copyright lines in the first patch).
The paravirt stuff is 'simple' and KVM only -- the Xen code was a little more convoluted and I've no real way to test that but it should be stright fwd to make work.
I ran this using the virtme tool (thanks Andy) on my laptop with a 4x overcommit on vcpus (16 vcpus as compared to the 4 my laptop actually has) and it both booted and survived a hackbench run (perf bench sched messaging -g 20 -l 5000).
So while the paravirt code isn't the most optimal code ever conceived it does work.
Also, the paravirt patching includes replacing the call with "movb $0, %arg1" for the native case, which should greatly reduce the cost of having CONFIG_PARAVIRT_SPINLOCKS enabled on actual hardware.
I feel that if someone were to do a Xen patch we can go ahead and merge this stuff (finally!).
These patches do not implement the paravirt spinlock debug stats currently implemented (separately) by KVM and Xen, but that should not be too hard to do on top and in the 'generic' code -- no reason to duplicate all that.
Of course; once this lands people can look at improving the paravirt nonsense.