search for: spin_lock_recursive_irq

Displaying 1 result from an estimated 1 matches for "spin_lock_recursive_irq".

2012 Dec 05
1
Recursive locking in Xen (in reference to NMI/MCE path audit)
...e the domain and mm locks appear to have strictly recursive callers. It seems to me that either we need to make the two locks different types, or use ASSERT()s to ensure we dont next spin_lock() and spin_lock_recursive() calls. In addition to the above problems, I find myself needing to implement spin_lock_recursive_irq{,save,restore}() variants. The implementations themselves are not too hard to do, but I did wonder whether we might want to have extra ASSERT()s to remove potential deadlock scenarios from the NMI/MCE paths. The ASSERT()s would have to be along the lines of "assert this is exclusively a rec...