RFC xen/spinlock: make recursive spinlocks a dedicated type
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xen/spinlock: add explicit non-recursive locking functionsxen/ xen/ xen/ +14 more | +77 | 4 replies | |
| 2/3 | xen/spinlock: split recursive spinlocks from normal onesxen/ xen/ xen/ +4 more | +60 | 4 replies | |
| 3/3 | xen/spinlock: support higher number of cpusxen/ xen/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] xen/spinlock: make recursive spinlocks a dedicated type
Instead of being able to use normal spinlocks as recursive ones, too, make recursive spinlocks a special lock type.
This will make the spinlock structure smaller in production builds and add type-safety.
Juergen Gross (3):
xen/spinlock: add explicit non-recursive locking functions xen/spinlock: split recursive spinlocks from normal ones xen/spinlock: support higher number of cpus
xen/arch/arm/mm.c | 4 +-- xen/arch/x86/domain.c | 12 +++---- xen/arch/x86/include/asm/mm.h | 2 +- xen/arch/x86/mm.c | 12 +++---- xen/arch/x86/mm/mem_sharing.c | 8 ++--- xen/arch/x86/mm/mm-locks.h | 2 +- xen/arch/x86/mm/p2m-pod.c | 6 ++-- xen/arch/x86/mm/p2m.c | 4 +-- xen/arch/x86/numa.c | 4 +-- xen/arch/x86/tboot.c | 4 +-- xen/common/domain.c | 6 ++-- xen/common/domctl.c | 4 +-- xen/common/grant_table.c | 10 +++--- xen/common/ioreq.c | 2 +- xen/common/memory.c | 4 +-- xen/common/page_alloc.c | 18 +++++----- xen/common/spinlock.c | 22 +++++++----- xen/drivers/char/console.c | 24 ++++++------- xen/drivers/passthrough/pci.c | 4 +-- xen/include/xen/sched.h | 6 ++-- xen/include/xen/spinlock.h | 68 +++++++++++++++++++++++++---------- 21 files changed, 131 insertions(+), 95 deletions(-)
Signature · 1 line
2.35.3