Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753897AbbH0Q1i (ORCPT ); Thu, 27 Aug 2015 12:27:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58991 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852AbbH0Q1h (ORCPT ); Thu, 27 Aug 2015 12:27:37 -0400 Date: Thu, 27 Aug 2015 18:25:05 +0200 From: Oleg Nesterov To: Andrew Morton , Dave Airlie Cc: Richard Weinberger , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/1] signals: kill block_all_signals() and unblock_all_signals() Message-ID: <20150827162505.GA7885@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 Content-Length: 1470 Lines: 45 On 05/26, Dave Airlie wrote: > > On 26 May 2015 at 02:50, Oleg Nesterov wrote: > > AAAAOn 05/25, Richard Weinberger wrote: > >> > >> Is this functionality still in use/needed? > > > > All I can say it doesn't work. > > > >> Otherwise we could get rid of block_all_signals() and unpuzzle the signaling > >> code a bit. :-) > > > > Yes. I do not even remember when I reported this the first time. Perhaps > > more than 10 years ago. > > > > See the last attempt in 2011: https://lkml.org/lkml/2011/7/12/263 > > I copied this email below. > > > > Dave. Lets finally kill this horror? I am going to send a patch unless > > you stop me ;) > > There were follow up on that thread 4 years ago, but we are probably > at the stage where this thing can die, Heh. I tried to kill this horror so many years, and forgot to send the patch after you finally blessed it ;) Could you please review? > I suspect any hw using it has died out, and any new hardware won't be > doing evil things with drm locks even if it does, let me repeat that block_all_signals() simply do not work. At all. if ->notifier() returns 0, this thread will burn CPU until SIGCONT or SIGKILL. Or it will stop anyway if multi-threaded. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/