Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4019357yba; Tue, 7 May 2019 10:45:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8KUospzZwNLu7ttgvr8DFI6OE0m+JiVgf+AzkvISSGsR5ADyY33XRiLQ9gJGSUgoVtTA5 X-Received: by 2002:a65:554d:: with SMTP id t13mr23027248pgr.171.1557251106238; Tue, 07 May 2019 10:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557251106; cv=none; d=google.com; s=arc-20160816; b=FhwAR1+v6BPo/+7Bfd8oASqetH7p7ukM1hN/sWlxe+vAQvWQpL39CUplLPggAWef30 DCnDlmUJaQn+D63haWp7/uppgj3cCHT6eDROuNwJ2yVmCcbkMAD/e1sGTefEip9EwuI5 fJIHeHiAg7L5K65VzTLs8T2VkZrtv+KM3jeSu5CjPaWqFLaZx44Ch1xpuRoJ7qf4AfMb ia2NupIRX/dJl5ufNF3lkaTIhdQmQhK7fNX5gZMJWXTn37OeZsnMsR7T2oq/xv8TuElo v4FDGoiNWATLFpXsWySJknYKItg0C9benUycUlBuv/dBY0cz5ut+6UqiPUg2M+jME8K7 n5dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=fkA+Y9XnOGjl/cdVGrUxZb5095BOcP1bwTD0zYW4RLc=; b=xdISEBm6riB1S1WZp9QMLuviRrKR40dPsEq7KFN58R5BvHskg338ZJtokLS/H22m42 b2xBvXix2H7hR2oe9W8v9DdF8Xo6pqucubyozBG49tY5+gRGUb2RrTlbznnovOGc/owu 4oJ2Q6Fpmx6eS6qm68RH4Uja/zlhMQ57jrZ6/OMAdu2sRXQsUHz4bDEMw5u/DXiNlUx5 7VWB48620SjPvhMA5KLOCfwiz2XkY9IvEy0Q6/Czn5PXm7ZEAR9yviNTGQB1wYakkEcv UHBLjkOMmcqGw98i2s6FeZSd7C/zNj6kzaTqitdjLEvWDwohrIWVeUNQ9aqTIys0BMfg HKKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Co2UIiT1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e24si19912543pge.459.2019.05.07.10.44.49; Tue, 07 May 2019 10:45:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Co2UIiT1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727429AbfEGRny (ORCPT + 99 others); Tue, 7 May 2019 13:43:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37909 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726607AbfEGRny (ORCPT ); Tue, 7 May 2019 13:43:54 -0400 Received: by mail-lj1-f194.google.com with SMTP id u21so5975061lja.5 for ; Tue, 07 May 2019 10:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fkA+Y9XnOGjl/cdVGrUxZb5095BOcP1bwTD0zYW4RLc=; b=Co2UIiT1iv1WhhnvT+1SLlkyQw1jm+jIn7F5nCWplNQ4zzVNCu8DWJlLaOs5Q4eA6v dX3/gvVrHWhpmKzMeYWueRW2iIbmxXCiloZEhDBiCwMyJ/AqK/gQeIT/nMiqjhbY4PKo 2MHqNXryyh0L0banXslg9ahMI3L+ftSr/qVDk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fkA+Y9XnOGjl/cdVGrUxZb5095BOcP1bwTD0zYW4RLc=; b=NlolJnSYr1iwhYDldK7I4XJggfcNwtxtntAjertcc3xkTUHrSfhE2MJghyynl+r4Eb YUf55ge3DJg4+sR/05JPpezIbzVReeukwgJGcofb8QNZbAHuMnriCJQPz3EoNDM/sxl2 MeQEdqSmRvxFDpL25A3iPYRXB1tTk3jZzojWmUTOO2tceciACFMLQAC97ayyi1bZP1uc zPZwc7xCH3BNnii9OToZJQ1UGz7l+AdwQTfzbzRRRMGVKQ7ZKnBVoUDxjbHDilvH7wBL t2fDuNOu3faTLAeS1w3UrWbMFMzxK3LrVutBVdAAgrt52xblDI9sRi/vkQ+IwBn/bYYH 7dcA== X-Gm-Message-State: APjAAAXk6zlJ72qphl2RItU9PxKUPgrKD0BYy+S5eHwOYyuk1uj1qzva PM4wXJAwRiNNilHFD1rq2M5D/t9Wfo4= X-Received: by 2002:a2e:3c12:: with SMTP id j18mr18394164lja.193.1557251031981; Tue, 07 May 2019 10:43:51 -0700 (PDT) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id y131sm1778880lfc.76.2019.05.07.10.43.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 10:43:50 -0700 (PDT) Received: by mail-lj1-f174.google.com with SMTP id h21so15064830ljk.13 for ; Tue, 07 May 2019 10:43:49 -0700 (PDT) X-Received: by 2002:a2e:9d86:: with SMTP id c6mr16010057ljj.135.1557251027975; Tue, 07 May 2019 10:43:47 -0700 (PDT) MIME-Version: 1.0 References: <20190507053826.31622-1-sashal@kernel.org> <20190507053826.31622-62-sashal@kernel.org> <20190507170208.GF1747@sasha-vm> <20190507171806.GG1747@sasha-vm> <20190507173224.GS31017@dhcp22.suse.cz> <20190507173655.GA1403@bombadil.infradead.org> In-Reply-To: <20190507173655.GA1403@bombadil.infradead.org> From: Linus Torvalds Date: Tue, 7 May 2019 10:43:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH AUTOSEL 4.14 62/95] mm, memory_hotplug: initialize struct pages for the full memory section To: Matthew Wilcox Cc: Michal Hocko , Sasha Levin , Alexander Duyck , LKML , stable , Mikhail Zaslonko , Gerald Schaefer , Mikhail Gavrilov , Dave Hansen , Alexander Duyck , Pasha Tatashin , Martin Schwidefsky , Heiko Carstens , Andrew Morton , Sasha Levin , linux-mm Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 7, 2019 at 10:36 AM Matthew Wilcox wrote: > > Can we do something with qemu? Is it flexible enough to hotplug memory > at the right boundaries? It's not just the actual hotplugged memory, it's things like how the e820 tables were laid out for the _regular_ non-hotplug stuff too, iirc to get the cases where something didn't work out. I'm sure it *could* be emulated, and I'm sure some hotplug (and page poison errors etc) testing in qemu would be lovely and presumably some people do it, but all the cases so far have been about odd small special cases that people didn't think of and didn't hit. I'm not sure the qemu testing would think of them either.. Linus