[RFC PATCH 0/6] signal: sigprocmask fixes

From: Oleg Nesterov
Date: Mon Apr 11 2011 - 13:21:17 EST


I am not sure this is really wrong and should be fixed. Please comment.

1-2: probably make sense anyway, cleanup + optimization.

4: the main change. From the changelog,

In short, almost every changing of current->blocked is wrong,
or at least can lead to the unexpected results.

5-6: If this should be fixed, then we need a lot more trivial changes
like these ones.

What do you all think?

In theory this can explain the hang reported by Nikita, but this is
not clear.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/