Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp105633ybn; Thu, 3 Oct 2019 02:15:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOLSaVXbAskOeoaOTmwPg425+xU59Jqzdb5vHGaeFGXwOaNntH2qoJlMNGNQDMwUvUN2pq X-Received: by 2002:a17:906:7a55:: with SMTP id i21mr6786000ejo.206.1570094118802; Thu, 03 Oct 2019 02:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570094118; cv=none; d=google.com; s=arc-20160816; b=zKeVgCzPZmJESi1DC+IC3afa9jMucwl9BUgvo1Y/pM3hXpMMIriMg9ML2RIznSlmZ/ 0P6SRU7DleGi26SR6ObboqjPywZNAonhfJKW1mb/n83toBX7OsxE3Kiu1NdLImOe5idZ 7ByLQKDVtHE50JoEi8z5wxk2yKNbuaS/iB73m6DGaszDiMYzTmj4Pgn0f8DhHuGG++iy NP7jkMOx6hSuXKMM8LpFw6LhgXzIBKjUNUHzaphQPdFweO/Oc4JbhuM+Jv1mUSdiAvIX dreD0vLAmZlleKTIa0O99Ze+2skoLAnH/gNIb7OKp7A7qCEbSrpE/EutMjA7TvdcqNb/ LFyw== 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=n6YkInGgU72UYBswybVNbohZCtScVo0aY77jQNKTcCk=; b=gWhIWap3L2z9s6i4pktkux2wGRf6pO+WKtUDWXC4kkrup7Ogb8Ny0eMYiPVQHQ3eNl gbpl0Pzi1qoUIhhJXu4bYnZUXCbIQyZtzWcBVi7Rsgd4Mwe9IBcxuohrspzQT4Ouggin KOm2DHv1lFy5qjeKtZu/X12t6J+iaGSedwUHiPCCxg0qcBjSLyxGK5+nrc4uzSW50b6g IYiwpptxZXyBlb87nHvl66AerxKNVTqQxw4XbpVApWrlMkzVaFaHUFXcawsHt3Kvobn5 u61PvGIHXLA25SVdOtpgf98d/B5vBmEtE+O28k3oaN8b5nL1smDiohSABuSMkoQGrSYP 42pg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j52si1085161eda.338.2019.10.03.02.14.54; Thu, 03 Oct 2019 02:15:18 -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; 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 S1729032AbfJCJNb (ORCPT + 99 others); Thu, 3 Oct 2019 05:13:31 -0400 Received: from foss.arm.com ([217.140.110.172]:39098 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbfJCJNb (ORCPT ); Thu, 3 Oct 2019 05:13:31 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1753028; Thu, 3 Oct 2019 02:13:31 -0700 (PDT) Received: from arrakis.emea.arm.com (unknown [10.1.196.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 501613F739; Thu, 3 Oct 2019 02:13:30 -0700 (PDT) Date: Thu, 3 Oct 2019 10:13:28 +0100 From: Catalin Marinas To: Marc Dionne Cc: Linux Kernel Mailing List , linux-mm@kvack.org Subject: Re: Boot hang with 5.4-rc1, bisected to c5665868183f Message-ID: <20191003091327.GC21629@arrakis.emea.arm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Wed, Oct 02, 2019 at 07:26:51PM -0300, Marc Dionne wrote: > 5.4-rc1 hangs early on boot for me; the stack trace that I could > manage to see on screen suggested something kmemleak related, and it > was fairly quick to bisect it down to commit c5665868183f ("mm: > kmemleak: use the memory pool for early allocations"). > > Several call stacks periodically go by on screen, an interesting one > is (manually transcribed): > > RIP: 0010:_raw_write_unlock_irqrestore+0x15/0x20 > find_and_remove_object+0x84/0x90 > delete_object_full+0x10/0x20 > __kmemleak_do_cleanup+0x2d/0x50 > kmemleak_do_cleanup+0x59/0x60 > process_one_work+0x1a4/0x3c0 > worker_thread+0x50/0x3c0 > ... > > Config is attached. Thanks for the report. This was also mentioned here: http://lkml.kernel.org/r/2ac37341-097e-17a2-fb6b-7912da9fa38e@ozlabs.ru I'll have a look. It seems to only happen on the kmemleak disabling path (I managed to reproduce it as well). -- Catalin