Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1300143ybg; Wed, 29 Jul 2020 10:30:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPMmVPahax8HFb7ICOAxmyAYnSItWiprpMQ7tH93pKnGJlDwofB94NbrOQWTl005s6/avV X-Received: by 2002:a17:906:381b:: with SMTP id v27mr2858054ejc.88.1596043831691; Wed, 29 Jul 2020 10:30:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596043831; cv=none; d=google.com; s=arc-20160816; b=D441jggqfuCNITQLftLTmGVqZg57CVhAoh57A8h1c4bEuPONx5Ont6BOj8RvU4eUlK sAacD5EI+efw1rWi0nWVVIvUY5dMvaFXN/kgWbXRaichIwplfyrGGLO3ak9bm7N29u4m F/QJEc01HgpAjbctOnzaaqtCtG6/YRMpjOv7AbCCOEZ6jfEdI3OpI9rE1tj4UWNL15vj bvIgcVLkaUlWkvzZXDRjZhGh8To8KGN+wxj7k/VvD2jDM3GHJIyshvgZ+B9HfLobo54q ZACWAHDrmEYXbVz2il0xcruRJxGQEuE8CRCGtXkfKm1Tnl39H1PxXbYgPe/pNrup/lLZ KL/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Qf4hOLrKqti/BrcIwmN2iDHq4yG0O43FA9u3ufNSp0k=; b=iYnlMahBOhH6cBHpb5EpUvCRS1Chu9Z8jwmYMceeHZpKeYva4dkl2cbIcg8fgKO7Sq nsf6Iwppa3LgXqhSamCFlF/iSGHV6QgFOcXU52I7EPCvwzTt1PpqPWOpggK8uGGpNv9t fL2VPRCXuN+yKO8DNRzlmLOXnZ80LwHCIx5CEitTEFFmH40w1wwCopjWzu3JG2zgGbin EdKfSaL/JL8Dau2P8eexxeJSJjTU/V69/0cL30g6gvZ/U5b5txPN+1mC28YvBigrYNJ9 mKCIYQ0pVDVMULTpx2F1F5GdHgWJ7eGx9EVRTdND1yAG+jVEQPQ1dlzTXtJsVf9Z8CmK CAsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=MuxK+0p9; 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 lz17si1606952ejb.521.2020.07.29.10.30.08; Wed, 29 Jul 2020 10:30:31 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=MuxK+0p9; 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 S1726664AbgG2RaB (ORCPT + 99 others); Wed, 29 Jul 2020 13:30:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbgG2RaB (ORCPT ); Wed, 29 Jul 2020 13:30:01 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 211FEC061794; Wed, 29 Jul 2020 10:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=Qf4hOLrKqti/BrcIwmN2iDHq4yG0O43FA9u3ufNSp0k=; b=MuxK+0p92B5ZlzJuIQLJjB9DmL So3A2s7hmsfeI84gIlQa72xri1ADO0LzN1Hk3due0uygnNhWE432G1UOP+fvLTIMBTOmVcNum2nEC Z1JZ9ID76JhZRghZDrrJ/OW2NvVpaPMBuVXJ1fcleZ57884XO/zZZe14cwaKA1Hbqm9eUJjwxpxsv oKEudhpSPNYuByEMGfoOnRnnr22U0H0h0fRxK924AFTH+WUNI/rBiPvQjt0s+nOBUByytfHrNSWv6 mlBwYLWJcwviYi4nLrRQIqHMqsqbFswEwETiA8BQbiUS3TNqL1MoN2LYUEN+HZeazVm/gAN7eGs9A /r8viR3A==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0ptt-0003Q1-Pr; Wed, 29 Jul 2020 17:29:58 +0000 Subject: Re: mmotm 2020-07-27-18-18 uploaded (mm/page_alloc.c) To: David Hildenbrand , "Michael S. Tsirkin" , Andrew Morton Cc: Stephen Rothwell , broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, Jason Wang References: <20200728011914.S-8vAYUK0%akpm@linux-foundation.org> <20200728145553.2a69fa2080de01922b3a74e0@linux-foundation.org> <20200729082053.6c2fb654@canb.auug.org.au> <20200728153143.c94d5af061b20db609511bf3@linux-foundation.org> <20200729101807-mutt-send-email-mst@kernel.org> <8271d9b6-431a-c8da-8591-4023ab6c8963@redhat.com> From: Randy Dunlap Message-ID: <731f96d9-c780-5c5d-e338-e647b71fc677@infradead.org> Date: Wed, 29 Jul 2020 10:29:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <8271d9b6-431a-c8da-8591-4023ab6c8963@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/29/20 9:14 AM, David Hildenbrand wrote: > On 29.07.20 16:38, David Hildenbrand wrote: >> On 29.07.20 16:18, Michael S. Tsirkin wrote: >>> On Tue, Jul 28, 2020 at 03:31:43PM -0700, Andrew Morton wrote: >>>> On Wed, 29 Jul 2020 08:20:53 +1000 Stephen Rothwell wrote: >>>> >>>>> Hi Andrew, >>>>> >>>>> On Tue, 28 Jul 2020 14:55:53 -0700 Andrew Morton wrote: >>>>>> config CONTIG_ALLOC >>>>>> def_bool (MEMORY_ISOLATION && COMPACTION) || CMA >>>>>> >>>>>> says this is an improper combination. And `make oldconfig' fixes it up. >>>>>> >>>>>> What's happening here? >>>>> >>>>> CONFIG_VIRTIO_MEM selects CONFIG_CONTIG_ALLOC ... >>>> >>>> Argh, select strikes again. >>>> >>>> So I guess VIRTIO_MEM should also select COMPACTION? >>> >>> +Cc the maintainer. >>> >> >> We had select CONFIG_CONTIG_ALLOC before and that seemed to be wrong. I >> was told select might be the wrong approach. >> >> We want memory isolation and contig_alloc with virtio-mem (which depends >> on memory hot(un)plug). What would be the right way to achieve this? >> > > Okay, I think I am confused. I thought we had that already fixed. @mst > what happened to > > https://lkml.kernel.org/r/d03c88ea-200d-54ab-d7f3-f3e5b7a0a9dd@redhat.com > > That patch is almost a month old, can you pick it, I already acked it. That patch works for me. Acked-by: Randy Dunlap # build-tested thanks. -- ~Randy