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 9A9A2EB64DC for ; Tue, 11 Jul 2023 21:11:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231294AbjGKVL2 (ORCPT ); Tue, 11 Jul 2023 17:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbjGKVL1 (ORCPT ); Tue, 11 Jul 2023 17:11:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E46133 for ; Tue, 11 Jul 2023 14:11:26 -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=BZQBp1qDo2IW6ftJFZfiSBAckDEB2qosFIbNvmf9QzU=; b=w6Om+AAn3svGPuxzHcd7yzbMO2 9wR+1BoeKDrU9s9Ve90gOkkxX3V8s/G3SQwPNn+r3q90IKOFyCZjok4kkSHWjF0yMFl8KFJ1iRDJH CAK76Exuq2cbWSfjkG2VVPGJ3SQbilaWh1scwV3JeAbdEKuHXmxbMu/2OMk4xAlRMn+j8wmVx6Qm1 6kfawQ2dTBzqT5X0emrDwBItOLNbex5IvVDdn+MpF76R1zRHqceQCdj6iOYBFsitc3gmgweffrk/X 9GVQknMD8Vfb9MFaOTk3UBEOppORSP8NRJmD+C7/qB/fmThirspRpgFoFBuGOwd68f9XN04P1Mjk6 AN6mZZrw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qJKdj-00Ftm9-2r; Tue, 11 Jul 2023 21:11:19 +0000 Date: Tue, 11 Jul 2023 14:11:19 -0700 From: Luis Chamberlain To: Matthew Wilcox Cc: David Hildenbrand , Ryan Roberts , Andrew Morton , "Kirill A. Shutemov" , Yin Fengwei , Yu Zhao , Catalin Marinas , Will Deacon , Anshuman Khandual , Yang Shi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v2 0/5] variable-order, large folios for anonymous memory Message-ID: References: <20230703135330.1865927-1-ryan.roberts@arm.com> <78159ed0-a233-9afb-712f-2df1a4858b22@redhat.com> <4d4c45a2-0037-71de-b182-f516fee07e67@arm.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-kernel@vger.kernel.org On Fri, Jul 07, 2023 at 02:12:01PM +0100, Matthew Wilcox wrote: > On Fri, Jul 07, 2023 at 01:40:53PM +0200, David Hildenbrand wrote: > > > Is swapping working as expected? zswap? > > Suboptimally. Swap will split folios in order to swap them. Wouldn't that mean if high order folios are used a lot but swap is also used, until this is fixed you wouldn't get the expected reclaim gains for high order folios and we'd need compaction more then? > Somebody needs to fix that, but it should work. As we look at shmem stuff it was on the path so something we have considered doing. Ie, it's on our team's list of items to help with but currently on a backburner. Luis