Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3658399imu; Fri, 30 Nov 2018 04:07:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/UMmq9dgVyLbMBXTiELGKRMCcraIu4yU26tUcb90h4KfazOFV247hNpm+sYTMa6ca+uQPcu X-Received: by 2002:a17:902:b7c7:: with SMTP id v7mr5448054plz.75.1543579620815; Fri, 30 Nov 2018 04:07:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543579620; cv=none; d=google.com; s=arc-20160816; b=UWQdC75jX9BKc8VqcThicEq7WTzH9KoxOpjIEDvK7Grik7Ch30jrGij95BacaBjqJ9 NT9OsXBG/5taPPbSK7JHinNdapsCmdRGcgsj4EeaQP2k06Kan+o+Yp1Kmgd4JcS0Nopk M5Wsiu1etkfdikDtuqXlhmqnET5/Iq5Xgasvxu87WpqLXj77bvBQcSOxtiva+q++RA6n ZzJLxslhUUyvF7CQBIuJuzn0Bsr+CU8udDFkuZXoyRCT4jFEeeF0+vnAY4rh+TzNW1W0 d01TNL723sdNEhCW47ZZQDjBpJBf2zmzYOG9aDua1sGeP8qCtidGWZuxB62Wk/4lEcL8 RQZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Hz35uFQUQIW/FCXGHtV4EbVsbQYczeV6SCtXnrQvsG8=; b=hX64Ljp/EmNrgVC0EcRoFYs8Q3nBC7fTFQ38fUzxsKEhvZgCyMmLWnA6nZssUjbpMJ svkmSHX5ieSySsEcDZ0rQPxCnAIcGR7imAiX4XSbFmmCNmqVtUYPGLBz67u/hdLYvGJQ LbMQCRDp5ZSxGO4hlOOxMkPq6XJa6xatsSK7xRyfsBlICn4MV5s3gK1u0Ala0VSpMQD7 HFLLzdZ/+e5xRgTMh3BmBSbu6cM69Evpup13wBPLXdR9kWQWojalGgUtLQSLvEn1RCUj HxhK4+Jo/IHvQcGzus1WhIkHkw311D1eYcgemOxSZl/kzLDWPHJ4vF1Qyb6UEzeioPn/ pZNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si5329438pfd.197.2018.11.30.04.06.44; Fri, 30 Nov 2018 04:07:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727143AbeK3XM5 (ORCPT + 99 others); Fri, 30 Nov 2018 18:12:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58668 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbeK3XM5 (ORCPT ); Fri, 30 Nov 2018 18:12:57 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1825D3001FCB; Fri, 30 Nov 2018 12:03:53 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.43.17.12]) by smtp.corp.redhat.com (Postfix) with SMTP id 50713104C53F; Fri, 30 Nov 2018 12:03:45 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Fri, 30 Nov 2018 13:03:52 +0100 (CET) Date: Fri, 30 Nov 2018 13:03:45 +0100 From: Oleg Nesterov To: Dave Martin Cc: Enke Chen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Peter Zijlstra , Arnd Bergmann , "Eric W. Biederman" , Khalid Aziz , Kate Stewart , Helge Deller , Greg Kroah-Hartman , Al Viro , Andrew Morton , Christian Brauner , Catalin Marinas , Will Deacon , Mauro Carvalho Chehab , Michal Hocko , Rik van Riel , "Kirill A. Shutemov" , Roman Gushchin , Marcos Paulo de Souza , Dominik Brodowski , Cyrill Gorcunov , Yang Shi , Jann Horn , Kees Cook , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "Victor Kamensky (kamensky)" , "xe-linux-external@cisco.com" , Stefan Strogin Subject: Re: [PATCH v5 1/2] kernel/signal: Signal-based pre-coredump notification Message-ID: <20181130120344.GA25998@redhat.com> References: <7741efa7-a3f8-62a1-ba52-613883164643@cisco.com> <84460a77-a111-404e-4bad-88104a6e246e@cisco.com> <20181026082812.GA10581@redhat.com> <21f678a8-4001-df36-c26e-e96cf203b1b1@cisco.com> <20181029111804.GA24820@redhat.com> <0c197608-3b7e-ffd1-8943-801a60beb917@cisco.com> <80e96710-f424-9b39-72ee-9cc7cbe7a5f7@cisco.com> <20181128151911.GN3505@e103592.cambridge.arm.com> <20181129115520.GO3505@e103592.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181129115520.GO3505@e103592.cambridge.arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Fri, 30 Nov 2018 12:03:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/29, Dave Martin wrote: > > SIGCHLD + wait() is immune to this problem for other child status > notifications (albeit with higher overhead). > > Unless I've missed something fundamental, signals simply aren't a > reliable data transport Yes. But I hope we are not going to implement WCOREDUMP. I am not fan of this patch, but at least it is simple. Oleg.