Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp188249pxf; Thu, 8 Apr 2021 00:13:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdlLktCjVWwCY+LHLrG2hkyM9hw4K1Ngp4O0tGVg2zOzJs9MzBGjINz6yb1k+0oRO/TCC7 X-Received: by 2002:aa7:c64b:: with SMTP id z11mr9616672edr.8.1617866004209; Thu, 08 Apr 2021 00:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617866004; cv=none; d=google.com; s=arc-20160816; b=BDcZ88a5x8XkM/rknHbhORCC0gcGoHALMvUuIVEBBRv7uxME3TYMdKOuUw5vYg/3b/ mGjoS+sHYjLgtMp9rjvHj+8RGwovjmQpCPXC31DG9gpQbHSob6swLtwfQekwwgwpS2hl RYoev0zET/hEhm/q7aMYYkmEwNd1qfy2v32qZh2vkiMa+hUChyiw9rIhRAEjr+2ybGg0 Wr1K5kLWobDxrUTu9Tus8w8SBP37R4FJhw59Ll/Sf5GK8eF3hp6BgFL9zzYZ+6KVU3Td EseDIDGuwWzncpbrWPwpMZZTcR55PZ3JqpLsyVoFf2BDT27BcmOG7jTE2vg89A3ugJPB /YXQ== 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; bh=1K+QWCNJ2JT1ZHsMmZPaLt5zLHfib1qkPPO4wokC7r8=; b=l2gYNBSD9igx1hR/ITkCIZwYKO/ogks7Gcp32Gu5RyFSOhgn2IqyjmjZ5Dc1ubAF7a CmzQHwJtQtMUW1p1baNAPt8mXOrjoUeqBVwqAZ06yn9s+b1BqWO5tK/Y95jOVGdq97qH 6Sk1i8Dqm7WsXJkoB+uALCR9TVC6sDIGfrmikrYoSUJbe/ieyZNWMQPJm21r1Rz6e6cK KEzb3cTUs6Tu8LcC+z9OrzIH3+rR7qAe7jJ4TXZRtSBoxLQBvNQmJ5RJqlpB7gsGyrP8 uCTTbcsop5KCQlfzf80nOkSBVwXTHkHDVGx3vJr5KnUGPxfufekyVti9Lq5u+R/VbdCs K5ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r1si6888235eds.382.2021.04.08.00.13.01; Thu, 08 Apr 2021 00:13:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbhDHHLs (ORCPT + 99 others); Thu, 8 Apr 2021 03:11:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:33560 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbhDHHLr (ORCPT ); Thu, 8 Apr 2021 03:11:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8BA04AFC1; Thu, 8 Apr 2021 07:11:35 +0000 (UTC) Date: Thu, 8 Apr 2021 09:11:30 +0200 From: Oscar Salvador To: Mike Kravetz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Roman Gushchin , Michal Hocko , Shakeel Butt , David Hildenbrand , Muchun Song , David Rientjes , Miaohe Lin , Peter Zijlstra , Matthew Wilcox , HORIGUCHI NAOYA , "Aneesh Kumar K . V" , Waiman Long , Peter Xu , Mina Almasry , Hillf Danton , Joonsoo Kim , Barry Song , Will Deacon Subject: Re: [PATCH v4 0/8] make hugetlb put_page safe for all calling contexts Message-ID: References: <20210405230043.182734-1-mike.kravetz@oracle.com> <01d8785f-efeb-553d-f075-6501c621ae20@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01d8785f-efeb-553d-f075-6501c621ae20@oracle.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 05:56:55PM -0700, Mike Kravetz wrote: > Hello Andrew, > > It has been suggested that this series be included before Oscar Salvador's > series "Make alloc_contig_range handle Hugetlb pages". At a logical > level, here is what I think needs to happen. However, I am not sure how > you do tree management and I am open to anything you suggest. Please do > not start until we get an Ack from Oscar as he will need to participate. As I said, this is fine by me. I think it is the most straightforward way to proceed with this series as this is a problem that has been bugging us fore quite some time now. See below: > Remove patches for the series "Make alloc_contig_range handle Hugetlb pages" > from Oscar Salvador. > - mm,page_alloc: drop unnecessary checks from pfn_range_valid_contig > - mm: make alloc_contig_range handle in-use hugetlb pages > - mm: make alloc_contig_range handle free hugetlb pages Yes, those need to be removed > /* > * Technically, the following patches do not need to be removed as > * they do not interact with Mike's changes. Again, they do > * contain 'cover letter comments' in the commit messages which may > * not make sense out of context. > */ > - mmcompaction-let-isolate_migratepages_rangeblock-return-error-codes-fix > - mm,compaction: let isolate_migratepages_{range,block} return error codes Those could stay as well, but they mention a change in alloc_contig_range() and without the context of the whole patchset might be misleading, so I would pull those out as well. > - mm,page_alloc: bail out earlier on -ENOMEM in alloc_contig_migrate_range I think this one can stay. But if It is going to be easier for Andrew, just pull them all out and I will resend the whole series once this work goes in. Thanks! -- Oscar Salvador SUSE L3