From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03A6DC4320A for ; Thu, 29 Jul 2021 23:01:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB7CC60F21 for ; Thu, 29 Jul 2021 23:01:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234458AbhG2XBc (ORCPT ); Thu, 29 Jul 2021 19:01:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbhG2XBa (ORCPT ); Thu, 29 Jul 2021 19:01:30 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1EB1C0613C1 for ; Thu, 29 Jul 2021 16:01:26 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id r26so13980634lfp.5 for ; Thu, 29 Jul 2021 16:01:26 -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=pY7m/Y43lyncS7WapXCMkLBirYxokclAcy/UGj99rQA=; b=XQtQEX/BG2JXB6WBNf/JB98ExbQAGG37D1sqjMTQzcAlbBF3cE9jO6h35na96096Nt 9bLwxHZ0OUkMyTGxEIoxMov84KKm2MpsHsc39n6CfhXg+fMQAWyIBI3nG4bncuHMl/08 g6bfAX7f+TIZ2iNmLpTBNrEuEjPlYNygVzzo8= 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=pY7m/Y43lyncS7WapXCMkLBirYxokclAcy/UGj99rQA=; b=p9RS4uMp41xb4D+IOEXXYu2145q3RsJnfN1Yc+U3r6XpWcKp28JYmOT+3Es5svt38E 8XwOHUIoRImMUcKImVyPNHAu5XOOmeewiNYhyq9vY7iJ/yeVQXv970ynpDFKdS5Jzt11 ekftgk2pttz0YLoO9M237cXaW3WWxU0uYvBSloxzTgIidoo8S0rsxfuLEqRri3GL9qiv QlJZh/bl19cqiVALS3QqZhfTfrSY79i8WuJdzQ9UQUZjyGj/Mzc8But68Za972EIYbcD jIs6V+CGAGpYJq2BXhKUvh+AxssZIWf1gtwxVEFR7nMm/V9Y6irp1v/GDgpHJpwUlF9I Yi8g== X-Gm-Message-State: AOAM531c3ox81QO9bJddIFFKO2OghzwPJVTxOB0dwAJUcWbRrRliZ15C P0cN53IH/J4iJCvAH3n8IVqPXzeOzFx7fu16 X-Google-Smtp-Source: ABdhPJwNJSgQWUWYoy/vVdsx1NwlIEB+Aifw+xuxI8zEcY3bB5JwOBxlgD2VUnFtqmxPvv6JD3PzKg== X-Received: by 2002:ac2:5e6f:: with SMTP id a15mr2020037lfr.234.1627599685054; Thu, 29 Jul 2021 16:01:25 -0700 (PDT) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com. [209.85.167.46]) by smtp.gmail.com with ESMTPSA id k2sm463838lfu.250.2021.07.29.16.01.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jul 2021 16:01:24 -0700 (PDT) Received: by mail-lf1-f46.google.com with SMTP id g13so13888608lfj.12 for ; Thu, 29 Jul 2021 16:01:24 -0700 (PDT) X-Received: by 2002:a19:c3c1:: with SMTP id t184mr5315383lff.41.1627599683697; Thu, 29 Jul 2021 16:01:23 -0700 (PDT) MIME-Version: 1.0 References: <20210729222635.2937453-1-sspatil@android.com> <20210729222635.2937453-2-sspatil@android.com> In-Reply-To: <20210729222635.2937453-2-sspatil@android.com> From: Linus Torvalds Date: Thu, 29 Jul 2021 16:01:07 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] fs: pipe: wakeup readers everytime new data written is to pipe To: Sandeep Patil Cc: linux-fsdevel , Linux Kernel Mailing List , David Howells , Greg Kroah-Hartman , stable , Android Kernel Team Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 29, 2021 at 3:27 PM Sandeep Patil wrote: > > So restore the old behavior to wakeup all readers if any new data is > written to the pipe. Ah-hahh. I've had this slightly smaller patch waiting for the better part of a year: https://lore.kernel.org/lkml/CAHk-=wgjR7Nd4CyDoi3SH9kPJp_Td9S-hhFJZMqvp6GS1Ww8eg@mail.gmail.com/ waiting to see if some broken program actually depends on the bogus epollet semantics. Can you verify that that patch fixes the realm-core brokenness too? Linus