Btw, I believe we have another problem. utrace_control(SINGLESTEP) calls user_enable_single_step() under utrace->lock. I don't really understand the magic in enable_single_step() but is_setting_trap_flag() calls access_process_vm(), this doesn't look good under spinlock.
Hmm. Not sure how to fix this... Oleg.