[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1 of 6] x86/mm: Print stack trace on a an mm-locks deadlock panic
xen/arch/x86/mm/mm-locks.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx> diff -r 7b606c043208 -r aa4ef559da60 xen/arch/x86/mm/mm-locks.h --- a/xen/arch/x86/mm/mm-locks.h +++ b/xen/arch/x86/mm/mm-locks.h @@ -50,8 +50,11 @@ static inline int mm_locked_by_me(mm_loc #define __check_lock_level(l) \ do { \ if ( unlikely(__get_lock_level()) > (l) ) \ + { \ + WARN(); \ panic("mm locking order violation: %i > %i\n", \ __get_lock_level(), (l)); \ + } \ } while(0) #define __set_lock_level(l) \ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |