> But can't we simplify this check a little bit? > > utrace_control: > > else if (unlikely(target->utrace_flags & DEATH_EVENTS) || > unlikely(utrace->death)) { > return -EALREADY; > > can't we just do > > else if (unlikely(utrace->death)) { > return -EALREADY;
Yes, it's sufficient. I've changed it. Thanks, Roland