Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5314511pxb; Sun, 6 Feb 2022 21:53:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXKz86rGVHKjwWCDf0LZ1hu7mqvSt9Ugit9aK23IJ7ecu1QCylzdsARsf0YRGH51QjLZ7M X-Received: by 2002:a17:903:188:: with SMTP id z8mr15011086plg.119.1644213220590; Sun, 06 Feb 2022 21:53:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644213220; cv=none; d=google.com; s=arc-20160816; b=n0cobexwtOOqZ2gXrr1c8ikTlq4Gd/vaqGU+rM330NJzNaD4WNZFLu39T/uiLyOqWc IGmxfUnx+2epMyVA/WRG2jVyxX9CdJk7i3YlxSLN2EHHMXRRHHxRVYL0WfnzR87W/qsP vDfU2VkLl3+e5N2ynHEcD+W2jiGTYrm3KnJKsPQeTbEZHKvddvKcZPBbfM+AHo5FNexK 10aB5OQie97AVYcNnsmNRxQz+SELxRCcxtPCPaMBOt+DhcC7hJVEHrhKH41/WGWdorKY CoiyPTcW0DCDa15G2MTLZvJjsbO8fbllq6L4hnX7ft9EE2drSqkWGYD8UeIBR5PBrKhG /iuw== 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=r+t4PcKV535fJ1zMDpcnTHvBXuLCN0XAAbrQTepxxJA=; b=D56H4ULx959S2LxvWV3+y8qafQTPtEBbJxR6WZriIETitI9mbdzGdS4EG4QiGv2wJo ymtuhI26VNCfj1ZQqLrJISlwhhzxRVYHF28EKM7/4/kkWMCHE5QKOGYT97ID/kbH6AdX ++CsogabOUFRroBWBHTg29LvWeEUbnisHYgI14mkqvB5RofyXpuqGt3rzscTwo5BymPD HTiEL2d1c2SGxxfvoyldVtZ6WZ/Z2ckZtW1bwkwpB8VaWexr6u2N6mHujttL6RonY1xp VSz3bsYzfdAk4yWfrAmo2E6qJHEfRstvNHIPlFtxoizthyZabuKM2wlCDsylgXyuE31g IRBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="O7eitr/k"; 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 v17si9656122pfu.27.2022.02.06.21.53.29; Sun, 06 Feb 2022 21:53:40 -0800 (PST) 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="O7eitr/k"; 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 S242677AbiBFVih (ORCPT + 99 others); Sun, 6 Feb 2022 16:38:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231922AbiBFVig (ORCPT ); Sun, 6 Feb 2022 16:38:36 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E1CDC06173B for ; Sun, 6 Feb 2022 13:38:35 -0800 (PST) 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=r+t4PcKV535fJ1zMDpcnTHvBXuLCN0XAAbrQTepxxJA=; b=O7eitr/kLhNRexf+ZI8jsPr6fE b+IwTBtBbyAEjIPgju/5PwN3cYXYLvYW/oDI5EUOdS3+xqvzTjHLjzjeqiOr2p0NJLF1L6/Xqq7Zf kWFmeFmeGqpRo8V+TC9WTZ2413MjgGBnbXstSxrks7ITn+/Gz8v8+9De//LscdL4wy2LeORS/EFus BcwHxB3UOti4taQCDsvWFj1UKTH6yEWKc8uzuTxrR60KKqLqJ6KreFeyNFCVSBYFWRnAHEjCVzwzI ohQKOmHYcidAFEUakVClWDl7ZATfynfqPnnaRdiHawzE9Qc1FKYHG7L+XntIkyd89heVBWRpNjAVL R7KS8KLw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGpEn-00Fi0E-O4; Sun, 06 Feb 2022 21:38:25 +0000 Date: Sun, 6 Feb 2022 21:38:25 +0000 From: Matthew Wilcox To: Hugh Dickins Cc: Andrew Morton , Michal Hocko , Vlastimil Babka , "Kirill A. Shutemov" , David Hildenbrand , Alistair Popple , Johannes Weiner , Rik van Riel , Suren Baghdasaryan , Yu Zhao , Greg Thelen , Shakeel Butt , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 00/13] mm/munlock: rework of mlock+munlock page handling Message-ID: References: <8e4356d-9622-a7f0-b2c-f116b5f2efea@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e4356d-9622-a7f0-b2c-f116b5f2efea@google.com> 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,T_SCC_BODY_TEXT_LINE 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 Sun, Feb 06, 2022 at 01:27:41PM -0800, Hugh Dickins wrote: > Here it is based on 5.17-rc2, applies also to -rc3, almost cleanly to > mmotm 2022-02-03-21-58 (needs two easy fixups in mm/huge_memory.c); but > likely to conflict (I hope not fundamentally) with several concurrent > large patchsets. Most of this patchset hasn't arrived here yet, but I would be _delighted_ to rebase the folio conversion on top of this. What convoluted code it is! I am so glad you've cleaned this up; I was dreading doing the rest of the mlock file.