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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 919CEC433F5 for ; Tue, 22 Mar 2022 12:06:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DB2CE6B0072; Tue, 22 Mar 2022 08:06:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D604C6B0073; Tue, 22 Mar 2022 08:06:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C01156B0074; Tue, 22 Mar 2022 08:06:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0047.hostedemail.com [216.40.44.47]) by kanga.kvack.org (Postfix) with ESMTP id B26976B0072 for ; Tue, 22 Mar 2022 08:06:03 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 727C2A15FC for ; Tue, 22 Mar 2022 12:06:03 +0000 (UTC) X-FDA: 79271893806.27.779858A Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf03.hostedemail.com (Postfix) with ESMTP id 0001D20031 for ; Tue, 22 Mar 2022 12:06:02 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 894E41F388; Tue, 22 Mar 2022 12:06:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1647950761; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/c2wNFriLm4kJ3H40irlul7yGd6uYc6Lmt+fIU23MNM=; b=feFBeZHpfYV/iVH3M1PNAJa9sDWDcMxo37XcFwq3kph+xwCFqW/K32OyJjsNkRIWjjwRVF tB8t8gOtbqDOD/c2IF3GxY/CRawpkUAqZ7/cLiznAg7oAIfiEZJWhr6OBFWBZeJaxj+NI3 jnvFuD+IzFkocpD1sGpEaSdmfjTwqCE= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id C0074A3B81; Tue, 22 Mar 2022 12:06:00 +0000 (UTC) Date: Tue, 22 Mar 2022 13:05:59 +0100 From: Michal Hocko To: Zach O'Keefe Cc: Alex Shi , David Hildenbrand , David Rientjes , Pasha Tatashin , SeongJae Park , Song Liu , Vlastimil Babka , Zi Yan , linux-mm@kvack.org, Yang Shi , Matthew Wilcox , Andrea Arcangeli , Andrew Morton , Arnd Bergmann , Axel Rasmussen , Chris Kennelly , Chris Zankel , Helge Deller , Hugh Dickins , Ivan Kokshaysky , "James E.J. Bottomley" , Jens Axboe , "Kirill A. Shutemov" , Matt Turner , Max Filippov , Miaohe Lin , Minchan Kim , Patrick Xia , Pavel Begunkov , Peter Xu , Thomas Bogendoerfer Subject: Re: [RFC PATCH 00/14] mm: userspace hugepage collapse Message-ID: References: <20220308213417.1407042-1-zokeefe@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=feFBeZHp; spf=pass (imf03.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com X-Rspam-User: X-Stat-Signature: 5qn5difcpzayxsyfpfdmm7x4gi8qagpn X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 0001D20031 X-HE-Tag: 1647950762-178537 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 Mon 21-03-22 23:40:39, Zach O'Keefe wrote: [...] > In preparation of a V1 PATCH series which will incorporate the > feedback received here, one item I'd specifically like feedback from > the community on is whether support for privately-mapped anonymous > memory is sufficient to motivate an initial landing of MADV_COLLAPSE, > with file-backed support coming later. Yes I think this should be sufficient for the initial implementation. > I have local patches to support > file-backed memory, but my thought was to keep the series no longer > than necessary, for the consideration of reviewers. Agreed! I think we should focus on the semantic of the anonymous memory first. -- Michal Hocko SUSE Labs