On Thu 12-12-24 16:07:44, Sebastian Sewior wrote: > But since I see in_nmi(). You can't trylock from NMI on RT. The trylock > part is easy but unlock might need to acquire rt_mutex_base::wait_lock > and worst case is to wake a waiter via wake_up_process(). Ohh, I didn't realize that. So try_lock would only be safe on raw_spin_lock right? -- Michal Hocko SUSE Labs