From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753475Ab1DKRVO (ORCPT ); Mon, 11 Apr 2011 13:21:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44441 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752732Ab1DKRVN (ORCPT ); Mon, 11 Apr 2011 13:21:13 -0400 Date: Mon, 11 Apr 2011 19:19:57 +0200 From: Oleg Nesterov To: Tejun Heo , Linus Torvalds , Andrew Morton Cc: "Nikita V. Youshchenko" , Matt Fleming , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: [RFC PATCH 0/6] signal: sigprocmask fixes Message-ID: <20110411171957.GA32469@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, 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. Oleg.