Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1171699rwi; Wed, 19 Oct 2022 07:30:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM523ka2G2MS6GQWqr9+Vm/IvjkLbZquV0QKXL9GNJI2TaxTLCAg2IAxFl0jGC7C8eZlybH1 X-Received: by 2002:a17:907:7f02:b0:73d:dffa:57b3 with SMTP id qf2-20020a1709077f0200b0073ddffa57b3mr7182755ejc.19.1666189824014; Wed, 19 Oct 2022 07:30:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666189824; cv=none; d=google.com; s=arc-20160816; b=jeLC/Dw1RzTr/+LI7ywm7S8+h/NqQpI7mR6REi5lY0ERaZrSwIAj3o+v39uuSBrWZG CWUUXmcxXVSt34Z5HZUCm7BXtfRaehbztRDSNJGoLGFgDXNOGLM4GFnM0KOr9WfRyDer v3rNWSETD+XQcrYSOIFAcdFDKHQCx+ObvavIwyhsrEBOn6jaNGFMH+h/QgZbD4dbh24m 5G1E9DWH3KDo26rdUMndsUK5+uWuf9vVD/1Njdgo1fWwPEgtT+egTVWmi3lbZgsA6nc6 XfrkfoUITrKCwnDnM0YzsfDA95VBHhPUy+4tmJ+3mpN0b/0sQ7QwXrq7/CtrBDyFI0At 0ipg== 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=ltxh6lxhvT92TP0SNmx2VMAM1oTzzEXuHTECeCwVWiQ=; b=UZTWQCKgKWIc7/CKZDhVQuE+cB72x9KxWDR7NgMLDcUbda8jQbondqeug2vb7opNCP 0NdCOUTIvr6Hy7rrnLVzqdFcAJ0qs+iXVjNopMFkU14NjONuDIkyjdn2kcaSRAIqB82k ZU+I6xkOGPycxKPDPfzINgQPDwpSc8WX1go9KmZGLexAeLVsCqN8GnZMpulrUl5fB20D kNYG/+U8DnSOv9OeVElo5+WQGEGk5KLk2zts8aZ6JVkOn5CFk9rTCRRgGoAWp4Soyi+U jL7KiLkrQw8BtMf8XYdsxHJ4UuOM3pRZaHEDV0PoW6has+4812qDXqGd03M4kIhj7ALO dx7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=JE56Tqv1; 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 hc32-20020a17090716a000b0078dffe01cbesi15081658ejc.4.2022.10.19.07.29.58; Wed, 19 Oct 2022 07:30:23 -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=@infradead.org header.s=casper.20170209 header.b=JE56Tqv1; 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 S232580AbiJSNVt (ORCPT + 99 others); Wed, 19 Oct 2022 09:21:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232019AbiJSNVO (ORCPT ); Wed, 19 Oct 2022 09:21:14 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D96B21C2097; Wed, 19 Oct 2022 06:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ltxh6lxhvT92TP0SNmx2VMAM1oTzzEXuHTECeCwVWiQ=; b=JE56Tqv1TqmJwtoAXQRLbpFOry ZGMXaNEMq8pUUFjt/I7CnQ6keu4uQFUVe+trgltKz6Y6IvlVvWp1wfosHU6tdxUB5J0HqcY/i1BM1 DiFy6NVN1KYvxoQiYkWyAGFIcip958/MoWR4LX2CaFdUktd2gys9L6MoQz5U3V1jMDXWpeAotHLDR xdHu0nFh/QjkEaAAckkYuyUkOTuORV85I4JEyhHGcVee3tJZWOTcTG904nlEl80FZoM+VbUu9k4cU f97YyMKAa+98SD7n+uraWWoWLLZVF7HZEkq5kdeZG00r9Epyy7KDnJAXU1wrpJMK0Zt3FurOQulm2 67cw3CTw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol8m7-00BZ12-Cj; Wed, 19 Oct 2022 13:06:23 +0000 Date: Wed, 19 Oct 2022 14:06:23 +0100 From: Matthew Wilcox To: Zhaoyang Huang Cc: Dave Chinner , "zhaoyang.huang" , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, ke.wang@unisoc.com, steve.kang@unisoc.com, baocong.liu@unisoc.com, linux-fsdevel@vger.kernel.org Subject: Re: [RFC PATCH] mm: move xa forward when run across zombie page Message-ID: References: <1665725448-31439-1-git-send-email-zhaoyang.huang@unisoc.com> <20221018223042.GJ2703033@dread.disaster.area> <20221019011636.GM2703033@dread.disaster.area> <20221019044734.GN2703033@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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, Oct 19, 2022 at 01:48:37PM +0800, Zhaoyang Huang wrote: > On Wed, Oct 19, 2022 at 12:47 PM Dave Chinner wrote: > > I removed the mapping_set_large_folios() calls in the XFS inode > > instantiation and the test code has now run over 55,000 iterations > > without failing. The most iterations I'd seen with large folios > > enabled was about 7,000 - typically it would fail within 2-3,000 > > iterations. > hint from my side. The original problem I raised is under v5.15 where > there is no folio yet. But 5.15 does use 2MB pages in shmem. You haven't really provided any information, so I don't know whether the inode that you're having problems with is a shmem inode.