Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp632155pxb; Wed, 25 Aug 2021 11:10:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAk43sb7tFMHF+9WoqW3GhreGJVTPor2VDNatTow+pBdAkZoCppZ5YmCMz2Qx7nMVXbVwo X-Received: by 2002:a5e:c905:: with SMTP id z5mr36715752iol.33.1629915055611; Wed, 25 Aug 2021 11:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629915055; cv=none; d=google.com; s=arc-20160816; b=IPn6RptESMmsj28LQCnQ6DSx+CLiMFf8YhF5Cc/e7nX4LG13fi1eKuRLibtIEMfVTf FAWfM1SoHhCEp6hnvYmmKsdBMH4kU2RmOxeNk6cHbdhrm2Flb/pCfvTpnI3qgFy3q+t0 P7i4r/aBQUlaThHeBezo2DtHTcM4e5wUnFolXASxg6j9uF824L0bxfCBK+jhutFnHDzB 2Dqv2TRpDe43h65xZJtW6DmVYL6AwA2PWP3lz6ALVwiec6XyQDbkbZ1zlKn6rvU/nvgg NKEuFRKPe3f+fo0BfYs5WoGQRMDnHj8MlCe6Od66yqhVImcstcRg+t8HLu1tevMck1jL YC/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EvOoM/HsjOni7jc8lx3KVJCCfdVfhKFUs0BKkUfmS3E=; b=IiI8qRYEkDdN7HTIEHtaohJXhZ07KVPcSyaGCCtzdIHhgRSH6RvccCNTv3YNRHYPcd ylOvKH0OPYP5ocqP0XcH5kPZ47TfL7z0uaOnNuIMT7KvuC5yVbo15pw0YHlZR34U6swc TjuE/jfsQx/vquOo+54KklRY552xq9kslibqoco6Qu0yOvJ4iT07EOVA2Hu0Cisx4ZDn yDhUgfsxjZ08gCZeJgJqAtgBm+KZohYyroIXBEjQ8H3JkWoLmZpf2EOMnmoebz+GiD2P k4NYQ0ptrx+C1TybpGMAMGEjBVYkyjbp0PI1lDNQSXQSpeSbSIB2Cr6L9411L5yN/AOI DYww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=B1X2qLW7; 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 n11si550073ilt.25.2021.08.25.11.10.43; Wed, 25 Aug 2021 11:10:55 -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=B1X2qLW7; 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 S234511AbhHYSJz (ORCPT + 99 others); Wed, 25 Aug 2021 14:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235201AbhHYSJy (ORCPT ); Wed, 25 Aug 2021 14:09:54 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15CE3C0613C1 for ; Wed, 25 Aug 2021 11:09:08 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id o10so708917lfr.11 for ; Wed, 25 Aug 2021 11:09:07 -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=EvOoM/HsjOni7jc8lx3KVJCCfdVfhKFUs0BKkUfmS3E=; b=B1X2qLW79n6uvCp+DdrPlUbYaG77B4IZvTOIqyyfiPlLi7gaUSWnZKA5uJvtOAaqBE BSwA7l6E4MVgzm7nnrtfDN6ZyWZJVCrvCLPODm0TjGUW7w8kj5OSAKgwdDt4ww+0/e9b voZ09BF5BMRDvqXqXrqwZpd/yLgE7La2/rYlw= 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=EvOoM/HsjOni7jc8lx3KVJCCfdVfhKFUs0BKkUfmS3E=; b=rvwbnQLP/ryoBQ9y/yhf5e/R3e/qZ3c/6Xw1R2kd2rABmnLPs1aUaTIC0ojqZZzqCg AB7sM0nHTHp9K6MPmcgv8094uzQcA/fjDogutvU6NPkumKmDp2vtwzlcnIABSsMkOHnx Z9KzvNfTvjcCOkmV3s0i0aKhiHE0B9PGBkpKalTVD4W8bEY8vsWakUhKw12CjgfK5qoF PBxtpkk6E0RAyrkHWPVGslXMLG5kahCvHTy3wqGmIiKV8aPY0L8/6jrQoCmMh8oYiSet Wh6+Q36itI7Z6DO+EYh5OUTw2Bdfxbks/0UrZti5VaSt3FsquaTP+0Rh7pK1cUbarSIk MaGg== X-Gm-Message-State: AOAM532+Xa568O815XvUQBhLF8h5t8+CABxNVEkCVPjcCh3xDtfgoR4a I2EaF9kTRZdvWAJ5ySGJAAiJ5tV7I01T6/eO X-Received: by 2002:ac2:4884:: with SMTP id x4mr25474906lfc.650.1629914945793; Wed, 25 Aug 2021 11:09:05 -0700 (PDT) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com. [209.85.208.169]) by smtp.gmail.com with ESMTPSA id n2sm68710lfi.229.2021.08.25.11.09.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Aug 2021 11:09:05 -0700 (PDT) Received: by mail-lj1-f169.google.com with SMTP id s12so297391ljg.0 for ; Wed, 25 Aug 2021 11:09:04 -0700 (PDT) X-Received: by 2002:a2e:8808:: with SMTP id x8mr37973457ljh.220.1629914944698; Wed, 25 Aug 2021 11:09:04 -0700 (PDT) MIME-Version: 1.0 References: <20210824165607.709387-1-sashal@kernel.org> <20210824165607.709387-74-sashal@kernel.org> In-Reply-To: From: Linus Torvalds Date: Wed, 25 Aug 2021 11:08:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5.13 073/127] pipe: avoid unnecessary EPOLLET wakeups under normal loads To: Sasha Levin Cc: Linux Kernel Mailing List , stable , kernel test robot , Sandeep Patil , Mel Gorman Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 10:00 AM Linus Torvalds wrote: > > On Tue, Aug 24, 2021 at 9:57 AM Sasha Levin wrote: > > > > [ Upstream commit 3b844826b6c6affa80755254da322b017358a2f4 ] > > This one has an odd performance regression report associated with it. > > Honestly, I don't understand the performance regression, but that's > likely on me, not on the kernel test robot. So my suspicion for the cause was confirmed by the kernel test robot people, and I've applied the fix as commit fe67f4dd8daa ("pipe: do FASYNC notifications for every pipe IO, not just state changes"). I suspect we are finally done with this saga (knock wood), and this all could go into stable. As before, the regressions in question are all for performance testing and likely there is no real-world impact outside of that, so this shouldn't be in any way critical. I didn't mark that thing for stable, but it may or may not be the right thing to do. I _think_ I fully understand all the problems we hit, and the fixes are all obvious and straightforward and should be fine. But clearly a lot of tests use pipes for doing various IO/scheduler/random latency and throughput testing, so this all showed up in odd places. Linus