Pete wrote: >I think the best resolution would be an instrumentation patch >which records lock takers, and prints them when the thing is >forcefuly oopsed. I should come with it eventually, if someone >does not beat me to it (I wish they did, actually :-) > What about the attached patch? I'm not 100% that I've catched everyone that does spin_lock();_raw_spin_unlock(), and print_events() is not yet called from the oops/nmi codepath (How should it handle bust_spinlocks?) Not really tested - boots bochs, print_events() output looks sane when manually triggered. -- Manfred