]> xenbits.xensource.com Git - xen.git/commit
rwlocks: call preempt_disable() when taking a rwlock
authorJuergen Gross <jgross@suse.com>
Mon, 16 Mar 2020 10:26:45 +0000 (11:26 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 16 Mar 2020 10:26:45 +0000 (11:26 +0100)
commit12509bbeb9e386ca52ec46e23d1d540c6dc8d7d7
treedf798b502ffa064dec10c50c089aeaa3323f4123
parent1946c33399ecc8dcad0938c4432b9e394eb78e17
rwlocks: call preempt_disable() when taking a rwlock

Similar to spinlocks preemption should be disabled while holding a
rwlock.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/rwlock.h