On 11/09, Oleg Nesterov wrote:>> static bool xxx(brw)> {> down_write(&brw->rw_sem);> if (!atomic_read(&brw->slow_read_ctr))> return true;I meant, try_to_down_write(). Otherwise this can obviously deadlock.Oleg.