rwlock: allow recursive read locking when already locked in write mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 15 repliesIn review
- v21 patch 36 repliesSuperseded
- v11 patch 13 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | atomic: add atomic_and operationsxen/ xen/ xen/ | +39 | 10 replies | |
| 2/2 | rwlock: allow recursive read locking when already locked in write modexen/ xen/ | +34 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Julien Grall |
|---|---|---|
| 1/2 | Requested-by R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Xen-devel] [PATCH v3 0/2] rwlock: allow recursive read locking when already locked in write mode
Hello,
The following series implement support for read-locking a lock already taken in write mode by the same CPU. Patch #1 add an atomic_and operation to be used by patch #2 which implements the mentioned behavior.
The series has been build tested on Arm by gitlab:
https://gitlab.com/xen-project/people/royger/xen/pipelines/120144901
Thanks, Roger.
Roger Pau Monne (2):
atomic: add atomic_and operations
rwlock: allow recursive read locking when already locked in write mode
xen/common/rwlock.c | 4 +-- xen/include/asm-arm/arm32/atomic.h | 17 ++++++++++ xen/include/asm-arm/arm64/atomic.h | 14 ++++++++ xen/include/asm-x86/atomic.h | 8 +++++ xen/include/xen/rwlock.h | 52 ++++++++++++++++++------------ 5 files changed, 73 insertions(+), 22 deletions(-)
Signature · 7 lines
2.25.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel