Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1202953ybl; Fri, 6 Dec 2019 13:05:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzgF5E7Fo9L0FgAOXopnAtb6Ob2kn40hz64tNfzba5k5guGsoAkRM6bUeS0+AKBV6TL9LqZ X-Received: by 2002:a9d:7ad9:: with SMTP id m25mr12229791otn.13.1575666333288; Fri, 06 Dec 2019 13:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575666333; cv=none; d=google.com; s=arc-20160816; b=qu13VS99FzQQVfPInfa492abY0b6S0ubgufqSO/MQrYyFQZipyiLIk1F+V0qCMFuim BytzPqTjhoDyWfeQoYHUls1yFr1NJ6cjKjDZFVn8bXGw+U2BCN4cN75scn66w08QPs8i 6JVEknzmkWcXKADbEqUDgwKdeVxT8eXL42NH108i2C92ZYuBY9torfWZLLMjIkDp49li r45rc+7e5GF9+JyYnmu8Mg/Yaov1YUYgyY/SgtHGF3cq5DlBSMcLY0lHwbIPW5Ls2urj lxe5FtAvxCFVgjvlX7zqlI9puZl/24edFQutsYe/c7NGbK30Gnhr8WmCCWCcrhYapGyO IThg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=N5jNUqI0VTnKojC60LXRRrRCF9Kd4ozDJywm8qVH48M=; b=tKsYk7qnrmm81Okglgpi4EZge5O7rgPU/FRh02dVYgXzXZoGgj//MeNqiwR5hE0Uqw lcUpseVTBJ2YPaa29Mxh+eiGJT+fa+yOPhQEbgs4xSZbNoB22yuRTcuC/n1Yv5QgY16Z vJbAjBdwHqUuzfgYJFxzr3/FsuWvFnHx0Cy7osJm80vbfpv2RqG/NmXOLNrgWwMr62df aa2/WWEMsQ3iQMoVwKPbSx3/+56AwI9k2hW5UbrWjfgatykQjk01j25RXuyDAce0UWPK fAfbF4Zah3iNThucC1+AVEKUPeRRYPXwqRikwkfI2WwX2yxr3PXsZBTcJhNQqzNrbnh3 ChxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=T+F3Xq2t; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si3820037otq.137.2019.12.06.13.05.19; Fri, 06 Dec 2019 13:05:33 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=T+F3Xq2t; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbfLFVEX (ORCPT + 99 others); Fri, 6 Dec 2019 16:04:23 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:42170 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbfLFVEW (ORCPT ); Fri, 6 Dec 2019 16:04:22 -0500 Received: by mail-lf1-f68.google.com with SMTP id y19so6257951lfl.9 for ; Fri, 06 Dec 2019 13:04:21 -0800 (PST) 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; bh=N5jNUqI0VTnKojC60LXRRrRCF9Kd4ozDJywm8qVH48M=; b=T+F3Xq2tjKRjrpZcEc6t7v18sftYeucO7ZyPfPqQ7tM6q9iFLFGbCuoWlfRY2Hzk+l and8v+JEwpmdnyVjXGn1FM2unB92WIhz/EloPMLQdj9o+Xf4HI4y417R0xUXJs8RO1y7 xFw7J7L1qfI8JtZHgrkuKl3lKoLBh5eEnA5I0= 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; bh=N5jNUqI0VTnKojC60LXRRrRCF9Kd4ozDJywm8qVH48M=; b=iHJw3+2Om3PJ5/zDEXrTY9o+Hoc/TCuxktfDVkKh+hU4oYDqR11gra9dAU796M+Hre O9X8KtbAqJ0c2Dm0BmzPtt6581YjkLKKPQ2aiHaJNcgotjQ0OOQq3H9+YgrNJD6Hymol cP6VYlGgHD7wU1gFbdnXLFR4q5aGOo2d64BIhT0oRU0lkCfy+JiPHMnj2AV6PtYAkgTi wu5XAtNzZXcjgWFQIlWlq9T9+rL1s4WtZircrpmQb2qo77X8KIdaNIP/K5vASPYqAzre FkFp57EKdJLIMMOLdX3cPErFfXD2ZwKg2Gu7mm2VvKa8upl2sUH+ZQ6UcrnTKxRLjd8D Y28A== X-Gm-Message-State: APjAAAUt2fS65tIy1Op9QLmePSBVWW+ELLSwQZoivRksH54uNyzjlvZj 62ZKFjY/3exCiPiBIlB4DJnSkGFu1Mk= X-Received: by 2002:a05:6512:15d:: with SMTP id m29mr9415504lfo.51.1575666259419; Fri, 06 Dec 2019 13:04:19 -0800 (PST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id s16sm1665120lfc.35.2019.12.06.13.04.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Dec 2019 13:04:18 -0800 (PST) Received: by mail-lj1-f177.google.com with SMTP id 21so9152060ljr.0 for ; Fri, 06 Dec 2019 13:04:18 -0800 (PST) X-Received: by 2002:a05:651c:239:: with SMTP id z25mr7532335ljn.48.1575666257943; Fri, 06 Dec 2019 13:04:17 -0800 (PST) MIME-Version: 1.0 References: <157558502272.10278.8718685637610645781.stgit@warthog.procyon.org.uk> <20191206135604.GB2734@twin.jikos.cz> In-Reply-To: From: Linus Torvalds Date: Fri, 6 Dec 2019 13:04:01 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] pipe: Fixes [ver #2] To: David Sterba , David Howells , Linus Torvalds , Eric Biggers , Al Viro , linux-fsdevel , Linux Kernel Mailing List 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 Fri, Dec 6, 2019 at 12:28 PM Linus Torvalds wrote: > > I think I found it. > > TOTALLY UNTESTED patch appended. It's whitespace-damaged and may be > completely wrong. And might not fix it. Well, it compiles, and it's obviously correct, so I've committed it. It doesn't fix my "kernel compiles go single-threaded" issue. Which is not surprising - make doesn't use splice(), it just reads and writes single characters (the main make server writes a "+" character for each available job, and parallel sub-makes will read one for each job they start and write one when done - or something very close to that). I think that is related to the other pipe changes, though - there were some wakeup changes in there too. The btrfs problem was bisected to the original commit, which is what I think my patch fixes. Linus