Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp99562pxp; Thu, 10 Mar 2022 23:41:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsDsLn/OR7zNEccsu6YRG5LmJ2uF8BF7SHzKaq1Zdhr6u6w6rI2MqwqHvW8G3Rr77hMHGJ X-Received: by 2002:a17:906:58b:b0:6cf:65f5:de28 with SMTP id 11-20020a170906058b00b006cf65f5de28mr7268148ejn.614.1646984465583; Thu, 10 Mar 2022 23:41:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646984465; cv=none; d=google.com; s=arc-20160816; b=IQJlMad4DTCR2OnegiSAzoh0i0H/sgvn2fznqmI7tLe6BjdFSfplnE6bEeMCKF5ZcT CYcYv4sbMan/q4v+GnyeoZzBETpgnOSHwcGYFVunHdK6T5q/MZb8dagw2mKZkOsdepNp NtDGFmo+3tnwVlD1lzRpQfoCuRQrS6rQ0UmlHpVeLCbBj/S/IFoyFmKkPnajKsC1uOI+ jKzJVai61xRb9sqsk9xh4W+UX35WzfK1mfeT8rO/JkvIBvsMDhzd7OLHB1tpcWNN9sAA I+lI8jLHbtqQe0NcUL/a/lkQKJfFOOsWGlxR93dSoRj4MxlHu4UuX5Yv/PPZLfbxYAQ9 MEeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=V59HgvRc61glNOVchpXeR9lrKfDnI5JVZxCRrOe4PRw=; b=JFInYmZ57YyPAR2EIa6TTs2kQQRYTO5649nwe/yYt/CSMVwFTUVyOhNPjP3fF0NSSF Lvo38uhLgQnzLrQLw+5rZ2MzClhgedfiLSeHyXkn2dQlUQuFK7jjgrORl0FX1JdmL9HM mr9MZ3R0Czz68wvlx9/JawwNXzp/Q45Ebo4qFZ8E0fWCfTY4vqwNdgQdvNhFhzaOgLfd 4W4EB86ez9r87TYHVpFwbah+uUkjrWii44QAN3TvXMOoBFSRQiSXp21qidEAMrUedTIo EgSxmFwcAKULdQZ4a7tw/DHmHxJKCggofz8IK3WIK2r53FQf9pA7hbCfcFl3uVGjjnaL nGZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=iI4AVJfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a056402190e00b0041616adb0dbsi5357786edz.222.2022.03.10.23.40.41; Thu, 10 Mar 2022 23:41:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=iI4AVJfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236964AbiCITTd (ORCPT + 99 others); Wed, 9 Mar 2022 14:19:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237602AbiCITT3 (ORCPT ); Wed, 9 Mar 2022 14:19:29 -0500 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1E3811477D for ; Wed, 9 Mar 2022 11:18:20 -0800 (PST) Received: by mail-qt1-x830.google.com with SMTP id s15so2737725qtk.10 for ; Wed, 09 Mar 2022 11:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=V59HgvRc61glNOVchpXeR9lrKfDnI5JVZxCRrOe4PRw=; b=iI4AVJfDe2rTLVR5kFUQ47GJYK0B64dsIEiT0iiLSmBiX/DirSdJUpyJg1gkefekcd 7rZpVe2BLc878GhnKz7ojbP41jmTM/KchQ5Rr+DmAMxO1Tr5AJXQpbvV7Wu/9KbHXGSW 1cEi85cR1+tl0b3zerdE35IYi3cjOJhODO4pcmugXZhgtEHUS5Q/mppaZKrA0xq8choB sqKnLqxJ5LAVyge5tVouHdQ+SY3H6pMT6vO1LnjN2WAMYUhUJzpTH6AvCDFhw39/i4Ly Oo/ERGpImlyfJsA0F269mgwQIeJEqoQqqtFgevrd9EnVCJrtdIzX5C0O/ca/mjG1lql3 SPxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=V59HgvRc61glNOVchpXeR9lrKfDnI5JVZxCRrOe4PRw=; b=Q4t7kdYkBQBc7R6qryRgHBguEi7YyG1KA0iAdOxS7T+qcks498qBXztfB7xrF45TxX jeTD5mqtgvGeqEbMZU5IZoeuLknx6c42vwgzetwiQy06vwNmbVljm8gH6tTfqts+LjAp h7dee/0lAAolBJPpGiLFPwArkvPvXyW1NNHBZBlx57wwBYbs71QXRpC0ytiSLGAqqBCq 3u11ZWIChKp3n8SVZcLB/NrpUpQIMoS56ednrZRWgdx7rfa5ovgBj/9Ke5BDInrmWsxt INkD130eGxBRHAYgf20Imi4uoMgMDC4v8EEaklLnZhd8GKyMw2ys0TRrlCXvEFdl0BNm qDSw== X-Gm-Message-State: AOAM5338DVI5s17iTF8X54SJhJ2V7XUBwqclzZVrBhwYlkrWoWEEsr/A SVLM3m5A2r/8iXCl3Zh38tMZdQ== X-Received: by 2002:ac8:7dc6:0:b0:2de:708:3e3a with SMTP id c6-20020ac87dc6000000b002de07083e3amr1026671qte.459.1646853500165; Wed, 09 Mar 2022 11:18:20 -0800 (PST) Received: from localhost (cpe-98-15-154-102.hvc.res.rr.com. [98.15.154.102]) by smtp.gmail.com with ESMTPSA id z6-20020ae9c106000000b0067d3b9ef387sm876005qki.28.2022.03.09.11.18.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:18:19 -0800 (PST) Date: Wed, 9 Mar 2022 14:18:19 -0500 From: Johannes Weiner To: cgel.zte@gmail.com Cc: axboe@kernel.dk, viro@zeniv.linux.org.uk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, Yang Yang , Ran Xiaokai Subject: Re: [PATCH] block/psi: remove PSI annotations from submit_bio Message-ID: References: <20220309094323.2082884-1-yang.yang29@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220309094323.2082884-1-yang.yang29@zte.com.cn> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 09, 2022 at 09:43:24AM +0000, cgel.zte@gmail.com wrote: > From: Yang Yang > > psi tracks the time spent submitting the IO of refaulting pages[1]. > But after we tracks refault stalls from swap_readpage[2][3], there > is no need to do so anymore. Since swap_readpage already includes > IO submitting time. > > [1] commit b8e24a9300b0 ("block: annotate refault stalls from IO submission") > [2] commit 937790699be9 ("mm/page_io.c: annotate refault stalls from swap_readpage") > [3] commit 2b413a1a728f ("mm: page_io: fix psi memory pressure error on cold swapins") > > Signed-off-by: Yang Yang > Reviewed-by: Ran Xiaokai It's still needed by file cache refaults! NAK