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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6650C433EF for ; Sun, 6 Feb 2022 21:38:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 618716B0073; Sun, 6 Feb 2022 16:38:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5EFF86B0074; Sun, 6 Feb 2022 16:38:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4B9516B0075; Sun, 6 Feb 2022 16:38:38 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0086.hostedemail.com [216.40.44.86]) by kanga.kvack.org (Postfix) with ESMTP id 3CD7B6B0073 for ; Sun, 6 Feb 2022 16:38:38 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id EA52092EA9 for ; Sun, 6 Feb 2022 21:38:37 +0000 (UTC) X-FDA: 79113669474.23.10C6634 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf27.hostedemail.com (Postfix) with ESMTP id 72F1440003 for ; Sun, 6 Feb 2022 21:38:37 +0000 (UTC) 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-Rspamd-Queue-Id: 72F1440003 X-Rspam-User: nil Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b="O7eitr/k"; dmarc=none; spf=none (imf27.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-Stat-Signature: phxpjy7pnezkgrxg93dyj7h9eetooo8p X-Rspamd-Server: rspam08 X-HE-Tag: 1644183517-270081 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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.