Skip to content

xen/locks: fix preempt disabling in lock handling

Juergen Gross xen-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- move the preempt_[dis|en]able() calls

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/rwlocks: call preempt_disable() when taking a rwlockxen/include/xen/rwlock.h+16 -21 reply
2/2xen/spinlocks: fix placement of preempt_[dis|en]able()xen/common/spinlock.c+6 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Xen-devel] [PATCH v2 0/2] xen/locks: fix preempt disabling in lock handling

Xen's rwlocks don't disable preemption at all, while spinlocks are doing it only after obtaining the lock.

While not really critical, it is wrong.

This series fixes that.

Changes in V2:
- move the preempt_[dis|en]able() calls

Juergen Gross (2):
xen/rwlocks: call preempt_disable() when taking a rwlock xen/spinlocks: fix placement of preempt_[dis|en]able()

 xen/common/spinlock.c    |  9 ++++++---
 xen/include/xen/rwlock.h | 18 ++++++++++++++++--
 2 files changed, 22 insertions(+), 5 deletions(-)
Signature · 7 lines
2.16.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel