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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD463CD37B0 for ; Mon, 18 Sep 2023 18:27:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229552AbjIRS1x (ORCPT ); Mon, 18 Sep 2023 14:27:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjIRS1x (ORCPT ); Mon, 18 Sep 2023 14:27:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D37B0F7; Mon, 18 Sep 2023 11:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ioEeAGr+2NV3niPRdLLhdMSROTGhWvYL7RpL0QlpWXo=; b=PnfRPAkBF0mMzSlbZyC87L/2P8 hax/k2KlhyAoApjRDSwNcg5w4O1qCwBtBHRybKE1zQzj80vHiy2j2dI7X15GAb+Znu7FGbDdGgVvB wfujJfBcPFioDiKB9xDpcKdWf8/uuQYl5rdvhzoAhGwudtXTUVzsInO4Am7F16uE7T337/N27315u yCoK0kwJjAy0BKVDORUH++3XKnAdP0w8pihdcPs/3P4p26/tTXg2b/o1hJ5/i9H2W7Ao2rJG4Xf9z I382YPvkdujLoFZ8+274K28EB5kjsINTeIpRuxcj+BmmX3IhAKOC+QK4a0I1a8+LzIBFDs+/1eM8R pckEMDIw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qiIyI-00G5AT-1k; Mon, 18 Sep 2023 18:27:46 +0000 Date: Mon, 18 Sep 2023 11:27:46 -0700 From: Luis Chamberlain To: Matthew Wilcox Cc: Pankaj Raghav , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, p.raghav@samsung.com, david@fromorbit.com, da.gomez@samsung.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, djwong@kernel.org, linux-mm@kvack.org, chandan.babu@oracle.com, gost.dev@samsung.com Subject: Re: [RFC 06/23] mm: call xas_set_order() in replace_page_cache_folio() Message-ID: References: <20230915183848.1018717-1-kernel@pankajraghav.com> <20230915183848.1018717-7-kernel@pankajraghav.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Luis Chamberlain Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Fri, Sep 15, 2023 at 08:46:10PM +0100, Matthew Wilcox wrote: > On Fri, Sep 15, 2023 at 08:38:31PM +0200, Pankaj Raghav wrote: > > From: Luis Chamberlain > > > > Call xas_set_order() in replace_page_cache_folio() for non hugetlb > > pages. > > This function definitely should work without this patch. What goes wrong? As with batch delete I was just trying to take care to be explicit about setting the order for a) ddition and b) removal. Will drop as well after confirming, thanks! Luis