Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp296566imj; Wed, 13 Feb 2019 08:29:14 -0800 (PST) X-Google-Smtp-Source: AHgI3IaIPgrRe+izp6mACWGtgmkJQH0s54jLV/L5ERHpcb5m/1bxrK1KUiODN+5PbcgCSScr7PI2 X-Received: by 2002:a63:6184:: with SMTP id v126mr1160242pgb.277.1550075353871; Wed, 13 Feb 2019 08:29:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550075353; cv=none; d=google.com; s=arc-20160816; b=YLE8PaTcD8E56b9Zh/TgAjuhoUUmCKCA/c2LDT4lld9e+lsgzVJTlugnh3bqYzYxjv wstkOLj3p7GJC4umXI1vcUHAuq8LCqcO9gXos4233skLLBLtyqHoap5ERb+vH1/9AwuW 69icsa7HMP0BG0vfBw1EaJjwUgu3OomYi39XpKD4VfeZ9wKaIvg/J5FTj/3cHhtjOW0J QbVdUmILcI81kWq0kQOl9txv91wfoTdtO6A4np9+b9K4+PvLX8ERIaocLXbjGR0EW9WT g/v+Hbkh8yl34G6vhKDDG6wF7kYr43IGd1+tGus+FJHRFu9sw/RbPqF5Fgr4Xluvqzg1 7MYQ== 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; bh=TajlqAH5PnowJhsyXLmgp/vtr5uso6qFAhVN5NvtyOQ=; b=B7PlB23D9a6OTHMRxZYzd5tzinhpEjGfDy70Hkt8SIEwovlut1TwvaHOWavma6I9p2 eTBtiilJmK8hUH3MYMdE6oFjSjing5M1vVb+lwG7kXsDJAYUYQfMcMEwbM92qLcnLqSF pDKhROIetOoUbJwkXIXgFgoHoz2I78E5RX5mpj4eIj+lTJOnao/0ZyqlgiFq7lpmfGY/ GrDntkQmx/bIqJJ3rAQ0WYLLG5l6aBPyWXfbPc4ebiLvxWvyr32XJeTqHGxobO9YKt0z dvAuHsDI9g4rKGFfPuVGKrW4lDfuIRdYfR7zhPHQpvRNOcvqMUZRqdDby75JVNyHDJg7 g/2w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 m187si16972676pfm.51.2019.02.13.08.28.57; Wed, 13 Feb 2019 08:29:13 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392624AbfBMQSg (ORCPT + 99 others); Wed, 13 Feb 2019 11:18:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:49098 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730572AbfBMQSg (ORCPT ); Wed, 13 Feb 2019 11:18:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 85ED4AD74; Wed, 13 Feb 2019 16:18:34 +0000 (UTC) Date: Wed, 13 Feb 2019 17:18:32 +0100 From: Michal Hocko To: Dave Hansen Cc: linux-mm@kvack.org, Pingfan Liu , Peter Zijlstra , x86@kernel.org, Benjamin Herrenschmidt , Michael Ellerman , Tony Luck , linuxppc-dev@lists.ozlabs.org, linux-ia64@vger.kernel.org, LKML , Ingo Molnar Subject: Re: [PATCH v3 2/2] mm: be more verbose about zonelist initialization Message-ID: <20190213161832.GT4525@dhcp22.suse.cz> References: <20190212095343.23315-3-mhocko@kernel.org> <20190213094315.3504-1-mhocko@kernel.org> <1433a7e9-87b2-7e8d-a87d-dcffe486635c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433a7e9-87b2-7e8d-a87d-dcffe486635c@intel.com> 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 Wed 13-02-19 08:14:50, Dave Hansen wrote: > On 2/13/19 1:43 AM, Michal Hocko wrote: > > > > We have seen several bugs where zonelists have not been initialized > > properly and it is not really straightforward to track those bugs down. > > One way to help a bit at least is to dump zonelists of each node when > > they are (re)initialized. > > Were you thinking of boot-time bugs and crashes, or just stuff going > wonky after boot? Mostly boot time. I haven't seen hotplug related bugs in this direction. All the issues I have seen so far is that we forget a node altogether and it ends up with no zonelists at all. But who knows maybe we have some hidden bugs where zonelists is initialized only partially for some reason and there is no real way to find out. > We don't have the zonelists dumped in /proc anywhere, do we? Would that > help? I would prefer to not export such an implementation detail into proc -- Michal Hocko SUSE Labs