From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E24ABC5DF63 for ; Tue, 5 Nov 2019 20:50:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABA0921D6C for ; Tue, 5 Nov 2019 20:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729836AbfKEUt6 (ORCPT ); Tue, 5 Nov 2019 15:49:58 -0500 Received: from foss.arm.com ([217.140.110.172]:32810 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729778AbfKEUt5 (ORCPT ); Tue, 5 Nov 2019 15:49:57 -0500 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 DFB7E1396; Tue, 5 Nov 2019 12:49:56 -0800 (PST) Received: from mbp (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DF3653FB69; Tue, 5 Nov 2019 01:02:33 -0800 (PST) Date: Tue, 5 Nov 2019 09:02:31 +0000 From: Catalin Marinas To: Amir Goldstein Cc: Theodore Tso , fstests , Matthew Wilcox , Michal Hocko , Qian Cai , Andrew Morton , Linus Torvalds , Linux MM , linux-kernel Subject: Re: 5.4-rc1 boot regression with kmemleak enabled Message-ID: <20191105090231.GA1750@mbp> 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 Tue, Nov 05, 2019 at 09:14:06AM +0200, Amir Goldstein wrote: > My kvm-xfstests [1] VM doesn't boot with kmemleak enabled since commit > c5665868183f ("mm: kmemleak: use the memory pool for early allocations"). > > There is no console output when running: > > $ kvm -boot order=c -net none -machine type=pc,accel=kvm:tcg -cpu host \ > -drive file=$ROOTFS,if=virtio,snapshot=on -vga none -nographic \ > -smp 2 -m 2048 -serial mon:stdio --kernel $KERNEL \ > --append 'root=/dev/vda console=ttyS0,115200' This was fixed in 5.4-rc4, see commit 2abd839aa7e6 ("kmemleak: Do not corrupt the object_list during clean-up"). -- Catalin