Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1307650ybz; Wed, 29 Apr 2020 19:24:58 -0700 (PDT) X-Google-Smtp-Source: APiQypLcFqxcpRmMgbWIHPc6Ey7T4r17JDnZvj0HV++EketrK5v7TGuj/HcvimOzjUKwtLlzkfFP X-Received: by 2002:a05:6402:1a33:: with SMTP id be19mr798181edb.214.1588213498555; Wed, 29 Apr 2020 19:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588213498; cv=none; d=google.com; s=arc-20160816; b=wdbTV0aG/ZD18iAYP3WD0dlpePjiPFaO98ti4M4XXbTvP4Tk7qi6gg0+g6br/yrTZO d4B94XDqVtqEz7E4Cn8WvZK0HQCf2J9Swb16/7eY8RXfuAfP3KLjJaWB/w0ydjsViK96 JDRcovUHBkrhW2VHauUaAu6zAofqvM0scgvz7Y3K/dX0g2c0ID9FhuvK+gtu+10hGCbk /iWIYdbEZpOoUGyIO0rDU76OcdILgcc7m0Z87LQXJscNg0k4NLjUm3K/Z9f2pRo+/KUS U7S6rPyq0tV59Pt58+w2NJofx9617iqYOeTt42NuFSxbdrobEoYBSMDbDSP+mYrQC3PG bqjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pYxtKmlqoXk3HGTO1s1DdOG+LqWQPI4ENjVI27yZM/k=; b=Y+px//TPhIWMOVZeQMVf7mPplCArPc3BxVSIlQJN3+/Puu5UkkWrvxI9IXG3a+ynHl jPISbhe4odrPJWzE8wQ4VgiVjfO4auYp5ccCivdY0uopVlZFCAU5XLt/V4e1RjkHq6fV y8DDMdQmj44ixTuW5d2r+L71e3nQ7ewTqGqlev95bTiA+bR1zu6+JT1oKG6pmgHEmJZd eJb2NEKkqMnRFqhPjEZuBpdNQ9zVbzYIFYR0YcEshNqkBqfj0r05i8N4K8G93XdrppJR QVd6b2YhYbOnpk/o1KG8dUbVUE/KDh4AMq+d+W/JqbQ7v62l1KFOqDJgyG0W1EcHgh7d IMfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GmX+frN1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di17si4331178edb.593.2020.04.29.19.24.34; Wed, 29 Apr 2020 19:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=GmX+frN1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726489AbgD3CUo (ORCPT + 99 others); Wed, 29 Apr 2020 22:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726286AbgD3CUn (ORCPT ); Wed, 29 Apr 2020 22:20:43 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F042C035494 for ; Wed, 29 Apr 2020 19:20:43 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id u10so3417148lfo.8 for ; Wed, 29 Apr 2020 19:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pYxtKmlqoXk3HGTO1s1DdOG+LqWQPI4ENjVI27yZM/k=; b=GmX+frN1P1FGDtJYnb7zPTXSyuypoMkRWzT6YL81gEYrJlbcCgJgybcWHNXzT+fM7y tOizmLVBqKP3q1x+c+OTXL61r60ST8kDP+JCua1JluRk1FCwzdsmLm8gYKXGHtWNrbLW DZdAFSWp9PP+HVWQB3yRFzF5e5IEZ3HPFZnP8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pYxtKmlqoXk3HGTO1s1DdOG+LqWQPI4ENjVI27yZM/k=; b=G2FaIq4zVuP8mmPADGXOZA8NJ8QxrYia6dIZsXxnSHhFmCGnmpH0i2Qc/asiytfBRA M5p/6OxL0V/E66oCrwmz0mM57xC7hcCjMu3opCCsrb9qTgq9OWBJDBEIRxQLCUJu/eK/ pXtGCxkaYlhC9IHfkms1wcdZWG23sq4+7A37CHoxzaFR3m9OrL0eZ1HWsYpZAXQ6iCjL XTuWihB6J85LVsktARfnfQcx+tR7THJsHavfICFO0NHGcnXYT2FWB4GgGm9mYZtvK0yH 8Ox8XJG+dK24yrLuzrZ4KqvR+NAyLqOel3S73zs98u9DLciWBsLNv/2gWtetnJI/nh6p VrNA== X-Gm-Message-State: AGi0Pubnnaz/mms5rAhuUy+M5oQlWcC21DiceSU4T1FYwuTTzVMBaNxw 37TfWVSp+3sm5oYnKnsWLV+wKGRo+sc= X-Received: by 2002:a19:9141:: with SMTP id y1mr504876lfj.168.1588213240933; Wed, 29 Apr 2020 19:20:40 -0700 (PDT) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com. [209.85.208.176]) by smtp.gmail.com with ESMTPSA id q26sm3365256ljg.47.2020.04.29.19.20.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Apr 2020 19:20:39 -0700 (PDT) Received: by mail-lj1-f176.google.com with SMTP id l19so4763383lje.10 for ; Wed, 29 Apr 2020 19:20:39 -0700 (PDT) X-Received: by 2002:a05:651c:319:: with SMTP id a25mr608213ljp.209.1588213238646; Wed, 29 Apr 2020 19:20:38 -0700 (PDT) MIME-Version: 1.0 References: <20200428190836.GC29960@redhat.com> In-Reply-To: From: Linus Torvalds Date: Wed, 29 Apr 2020 19:20:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Please pull proc and exec work for 5.7-rc1 To: Bernd Edlinger Cc: Jann Horn , Oleg Nesterov , "Eric W. Biederman" , Waiman Long , Ingo Molnar , Will Deacon , Linux Kernel Mailing List , Alexey Gladkov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2020 at 6:08 PM Bernd Edlinger wrote: > > I added the BIG FAT WARNNIG comments as a mitigation for that. > Did you like those comments? No. What's the point olf saying "THIS CODE IS GARBAGE" and then expecting that to make it ok? No,m that doesn't make it ok. It just means that it should have been done differently. > Yes, exactly, the point is the caller is expected to call wait in that > scenario, otherwise the -EAGAIN just repeats forever, that is an API > change, yes, but something unavoidable, and the patch tries hard to > limit it to cases where the live-lock or pseudo-dead-lock is unavoidable > anyway. I'm getting really fed up with your insistence on that KNOWN BROKEN garbage test-case. It's shit. The test-case is wrong. I've told you before. Your patch as-is breaks other cases that are *not* wrong in the kernel currently, and that don't have test-cases because they JustWork(tm). The livelock isn't interesting. The test-case that shows it is pure garbage, and is written wrong. IF that test-case hadn't been buggy in the first place, it would have had ignored its child (or had a handler for SIGCHLD), and not livelocked. Linus