Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10039908rwd; Wed, 21 Jun 2023 15:35:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5STikDSBhY0y7CiOfgI6p5J5XQcPwGvU1vlfaTGALr3czj+g6Qe+EmS5OM+fKX18Flmkbq X-Received: by 2002:a05:6a20:4fa3:b0:11d:2b0c:7f49 with SMTP id gh35-20020a056a204fa300b0011d2b0c7f49mr12736767pzb.36.1687386929474; Wed, 21 Jun 2023 15:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687386929; cv=none; d=google.com; s=arc-20160816; b=W6jFMJKbiiptErBwiouR8bX254SKhIGqskvkyFOBI9IsevalR4KKs01KzGiArwu+K3 cLLEeyakVWQE39GcouoBXuuPL2xQ9q4cx2DdF4Xs4jLkEQE1YV68h0p56rPc3BV8EuNx fHjThXzgYM0JI437RDT+WaTw9l90CXBmFusOWz2i7QiCGNZ76H9VUYnPJvasW0mk7hq2 EKrTQ6TRdxAUNir1XTYAtoscJYpep6NE2nMXGTUzOsiXPA+4pKNaOG6Yd+8tgXtGsNq/ efq1VPoq5uL1NmJ0lnDMuoNPbNUwiksAXRSOML1Vta0rVGYeIVRdkGuJju3PHs7e5IrC EFbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=I14pqDwFw5VwTFsGGZLB2RDOayPERVDbIW6EHq7hiO8=; b=qsaigh1fhPp0mq6xFlSQ2SOWTXdjAVgGz7QW6QMvD4FV5RljDf8FAVQ01erWtBrfQ4 cZr1JsQAZw5ortRHvRIzWBLXGDk4eU366BkEFnR6xLN9X+j5jqeAWg2mpvYMBnenrwwX am4xH3tefxnuRNB6l3Bj21oausbrGFfs4XCcww1WEQJZRrcz227Dq7/pbMuw7U2q2sN1 zVsLo58IdbIeAe3SbEhIJVhu/Ls8F4/rNWKm7ELZdbF4mtTXKoKFP2gie4P5SNQq5MTL cNJF7FKe3izoFRCg/iWVAvL5Qy5GAjNpu/crEoCVZf7Q3bn8MjCfGHlQVjY6Sz0eWu1k hdKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=RMKtd2l6; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020aa79e11000000b006642e5dd553si4934930pfq.221.2023.06.21.15.35.16; Wed, 21 Jun 2023 15:35:29 -0700 (PDT) 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=@linux-foundation.org header.s=korg header.b=RMKtd2l6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbjFUWS7 (ORCPT + 99 others); Wed, 21 Jun 2023 18:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbjFUWS6 (ORCPT ); Wed, 21 Jun 2023 18:18:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 543161739; Wed, 21 Jun 2023 15:18:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DA99C61698; Wed, 21 Jun 2023 22:18:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB6BCC433C0; Wed, 21 Jun 2023 22:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1687385936; bh=53tS1I0N40ES60UY2MzzEHFLVoHFZs8JVif+NrqbUR4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RMKtd2l6NAdgqOYzztGrpCrzM2TgcEejVsCZKMtu7S+UUaDf0xD00x5P7/fQIPRcr IEkdp94KfVRKWZ04wJA+PeX8ep6JuG18BBTQtAdikv9egwtXY0SDeLG4bUldRDy/KP KKmOuU4gVXe+trU5l9opJQcemyg7JcOL0Qy1sfiw= Date: Wed, 21 Jun 2023 15:18:55 -0700 From: Andrew Morton To: Mike Kravetz Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Matthew Wilcox , Ackerley Tng , Sidhartha Kumar , Muchun Song , Vishal Annapurve , Erdem Aktas , Greg Kroah-Hartman , kernel test robot Subject: Re: [PATCH 1/2] Revert "page cache: fix page_cache_next/prev_miss off by one" Message-Id: <20230621151855.318449527a851cc0bb62fb34@linux-foundation.org> In-Reply-To: <20230621212403.174710-1-mike.kravetz@oracle.com> References: <20230621212403.174710-1-mike.kravetz@oracle.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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, 21 Jun 2023 14:24:02 -0700 Mike Kravetz wrote: > This reverts commit 9425c591e06a9ab27a145ba655fb50532cf0bcc9 > > The reverted commit fixed up routines primarily used by readahead code > such that they could also be used by hugetlb. Unfortunately, this > caused a performance regression as pointed out by the Closes: tag. > > The hugetlb code which uses page_cache_next_miss will be addressed in > a subsequent patch. Often these throughput changes are caused by rather random alignment/layout changes and the code change itself was innocent. Do we have an explanation for this regression, or was it a surprise?