Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp985893rdb; Fri, 20 Oct 2023 05:34:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvnPT61MZyONcemjzY69+on68oe/MYVGY5tvNNcRpGT/JtFAgbMiNFECzp0cuoo1s2tbvX X-Received: by 2002:a05:620a:25d2:b0:774:2470:6797 with SMTP id y18-20020a05620a25d200b0077424706797mr2047878qko.21.1697805243055; Fri, 20 Oct 2023 05:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697805243; cv=none; d=google.com; s=arc-20160816; b=uJewKFrUSADmn4lwqkFT2NlFmj+F7HJcNGnXBFz6B3MaSJojIGMobu4fzQAyqZubyd bkv+sEopjQQVd+K7kes6vPrlqaRzwHR06Wi5e6jUXwyqEsUNt801iprT1ADTWExtgWQ7 xOuoodr2tva2M0IMhLIbO2m1IcgQoy9JH0QI0dY6tF2Boor4QNkNz1M8Io6dd2hfvKov byl1DTxbd+yBviiwThkB24XAr06WSRVGgeY24AHVPl2Qwn+saRxGiJAGXO9iFE3pBWQV ur6+r3FSDRiSKIqDqDNuYtm3BQWM94BfyJ2lTU2GmQ/cQcgz8eoF42eF+pkChuzQCs9e Mt4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=UqmuuQbvikdamJ4rP1VHgUINjymQNLkrWGX2tZ40ZDs=; fh=LnKJiXXEsEfAmQ0GA7JIV4WyubX5Q0FERJtFNFMD3yY=; b=t7sk2wgeY6Lf5dQu3B9unxQADeSFFA8o+HmmxlqOmrGQB10YHH+KasPTtxsoCdfAVN A+J/IRK6GJkt76mdV6zwF963PjFtiRCt0WAjM5/VLDdfyb/qIB2jqTG7V2zx1j7USyxX RSFTz3ettH1U3qqAEDhxYPZjfYG2y2Gde9C8ojApiZjQKaSJf0Qic3ISdntW/nUU1D+V lYflmu2PnkAQNtCG+xQwmOuxDReFIfWFXQVSRsk35ejFkQMlaN7WPXE8VyHwHS2kWK4U XKZHfNkYJSJXyaMUO9T2pUcdfcTS5wsHDyQHNnKnjbkTh0WU0QMo+HbEDHmoFOKRDMFf tomA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bm27-20020a05620a199b00b007757d446533si1211664qkb.282.2023.10.20.05.34.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 05:34:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0803A835CE9C; Fri, 20 Oct 2023 05:34:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377079AbjJTMdp (ORCPT + 99 others); Fri, 20 Oct 2023 08:33:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377266AbjJTMdo (ORCPT ); Fri, 20 Oct 2023 08:33:44 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 03EAED52 for ; Fri, 20 Oct 2023 05:33:43 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8A2EB2F4; Fri, 20 Oct 2023 05:34:23 -0700 (PDT) Received: from [10.1.30.154] (XHFQ2J9959.cambridge.arm.com [10.1.30.154]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3CAA03F5A1; Fri, 20 Oct 2023 05:33:40 -0700 (PDT) Message-ID: Date: Fri, 20 Oct 2023 13:33:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 0/9] variable-order, large folios for anonymous memory Content-Language: en-GB To: David Hildenbrand , Andrew Morton , Matthew Wilcox , Yin Fengwei , Yu Zhao , Catalin Marinas , Anshuman Khandual , Yang Shi , "Huang, Ying" , Zi Yan , Luis Chamberlain , Itaru Kitayama , "Kirill A. Shutemov" , John Hubbard , David Rientjes , Vlastimil Babka , Hugh Dickins Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230929114421.3761121-1-ryan.roberts@arm.com> <6d89fdc9-ef55-d44e-bf12-fafff318aef8@redhat.com> From: Ryan Roberts In-Reply-To: <6d89fdc9-ef55-d44e-bf12-fafff318aef8@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 20 Oct 2023 05:34:00 -0700 (PDT) On 06/10/2023 21:06, David Hildenbrand wrote: > On 29.09.23 13:44, Ryan Roberts wrote: >> Hi All, > [...] >> NOTE: These changes should not be merged until the prerequisites are complete. >> These are in progress and tracked at [7]. > > We should probably list them here, and classify which one we see as strict a > requirement, which ones might be an optimization. > Bringing back the discussion of prerequistes to this thread following the discussion at the mm-alignment meeting on Wednesday. Slides, updated following discussion to reflect all the agreed items that are prerequisites and enhancements, are at [1]. I've taken a closer look at the situation with khugepaged, and can confirm that it does correctly collapse anon small-sized THP into PMD-sized THP. I did notice though, that one of the khugepaged selftests (collapse_max_ptes_none) fails when small-sized THP is enabled+always. So I've fixed that test up and will add the patch to the next version of my series. So I believe the khugepaged prerequisite can be marked as done. [1] https://drive.google.com/file/d/1GnfYFpr7_c1kA41liRUW5YtCb8Cj18Ud/view?usp=sharing&resourcekey=0-U1Mj3-RhLD1JV6EThpyPyA Thanks, Ryan