Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3994655yba; Tue, 7 May 2019 10:19:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyd0ugm+Of3Cv6wWW9+XeZHFTGzZqV7hmGnbhPO8m/DFpj3JQJP/Eb2UOn1wyPDcS4Wp/9P X-Received: by 2002:a62:4e86:: with SMTP id c128mr41796877pfb.39.1557249580829; Tue, 07 May 2019 10:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557249580; cv=none; d=google.com; s=arc-20160816; b=gyCylZ8Nkbtm60x6GoaSSawe1w22kZrqxuz8CsYc8MZ2gJj8ZKabwgU9buYu9gvzKc fB9ECJ1/oQfNwVlf0xzSzWD3eC2+k1DEQHx5DbipDtQSS/I9Igmq6dN7zpEhBQ5RTsUi nwVxxsQ588bUyT7D8Q/FXiUvl0g5ty6Xvm5GdSiasB21Xs4ffKF3sEJOzwDy6LK4mnGD cA8oCy9WGLvTHu65KW2QXJKokCq3XOVxQOrl441URSDHplZ4VsCGMQu8f2swrstvCHGU 6XKH0YVtdmg9cHHJQWOyMi/53tAH3Xs4C1VUW9uJOfmaAdINkIDHgwniEa2jXwq7sPR3 7g4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xt9ukkJvDmf42/+1FX7EomlPuDAXRZaZI20EEYYs5jM=; b=oo/jAqvYDgohmIgO58gULbLcYmUFijzCiN7cdWPjscV97XkCfmZo60HPE6XYR+8X2d VaWOmvt8yiWr3/bRjvPcXMlzPBynJjmf/BiLdKkjSPcvZhxhepX+Ll2Ta6njZipz4mOK TPrQzC1Ivvk9Rb6oKorbOmAqPkko+wnxcHevw/8x11nr+aaY1TIbYcdDktEoINw7f4oJ MP554nIkdFIL8tqbMmgaz5Y3tcaJ2viK16BGAUn+3YDeF5QbRXsn2thl22WOuu2ZKUGR yN2tv5cuu/Xl0/9pK7tsWjwMDd4dHNonwCDud9dCs3cCboaVGeLOJPaJxDJArBHchfBQ LHvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P13JV0rm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si3602346pgk.279.2019.05.07.10.19.24; Tue, 07 May 2019 10:19:40 -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=@kernel.org header.s=default header.b=P13JV0rm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727230AbfEGRSJ (ORCPT + 99 others); Tue, 7 May 2019 13:18:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:36078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfEGRSI (ORCPT ); Tue, 7 May 2019 13:18:08 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BEFAB206A3; Tue, 7 May 2019 17:18:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557249488; bh=xt9ukkJvDmf42/+1FX7EomlPuDAXRZaZI20EEYYs5jM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P13JV0rmV+5jHlhlN519NNBjhELHn7/LNhU9HK1HfT551G7PtkVA1vPvH2NhGGovl iugCemv8wI3IXV48UKY55GgEdHi8U98lXAlBJmVdJj7X9uwf6oOshqmXdQw6+mYpFP HToXiAVL+O2CLBxNhwDl2wZ+Ki/mNA2aVcJX1aoI= Date: Tue, 7 May 2019 13:18:06 -0400 From: Sasha Levin To: Linus Torvalds Cc: Alexander Duyck , LKML , stable , Mikhail Zaslonko , Gerald Schaefer , Michal Hocko , Michal Hocko , Mikhail Gavrilov , Dave Hansen , Alexander Duyck , Pasha Tatashin , Martin Schwidefsky , Heiko Carstens , Andrew Morton , Sasha Levin , linux-mm Subject: Re: [PATCH AUTOSEL 4.14 62/95] mm, memory_hotplug: initialize struct pages for the full memory section Message-ID: <20190507171806.GG1747@sasha-vm> References: <20190507053826.31622-1-sashal@kernel.org> <20190507053826.31622-62-sashal@kernel.org> <20190507170208.GF1747@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 07, 2019 at 10:15:19AM -0700, Linus Torvalds wrote: >On Tue, May 7, 2019 at 10:02 AM Sasha Levin wrote: >> >> I got it wrong then. I'll fix it up and get efad4e475c31 in instead. > >Careful. That one had a bug too, and we have 891cb2a72d82 ("mm, >memory_hotplug: fix off-by-one in is_pageblock_removable"). > >All of these were *horribly* and subtly buggy, and might be >intertwined with other issues. And only trigger on a few specific >machines where the memory map layout is just right to trigger some >special case or other, and you have just the right config. > >It might be best to verify with Michal Hocko. Michal? Michal, is there a testcase I can plug into kselftests to make sure we got this right (and don't regress)? We care a lot about memory hotplug working right. -- Thanks, Sasha