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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 4106DC49EAA for ; Tue, 5 Nov 2019 09:23:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D147820717 for ; Tue, 5 Nov 2019 09:23:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="Dw49I8qi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D147820717 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lca.pw Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 53E106B0006; Tue, 5 Nov 2019 04:23:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4ED8B6B0008; Tue, 5 Nov 2019 04:23:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 403DF6B000A; Tue, 5 Nov 2019 04:23:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0154.hostedemail.com [216.40.44.154]) by kanga.kvack.org (Postfix) with ESMTP id 2B4266B0006 for ; Tue, 5 Nov 2019 04:23:42 -0500 (EST) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id C499A8249980 for ; Tue, 5 Nov 2019 09:23:41 +0000 (UTC) X-FDA: 76121686242.06.hands48_7787d93126f0a X-HE-Tag: hands48_7787d93126f0a X-Filterd-Recvd-Size: 4289 Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by imf46.hostedemail.com (Postfix) with ESMTP for ; Tue, 5 Nov 2019 09:23:41 +0000 (UTC) Received: by mail-qk1-f194.google.com with SMTP id m4so20468917qke.9 for ; Tue, 05 Nov 2019 01:23:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=YkhaHXSsDqirPfbF2CFOp3B+1zltTG0E4zKqdP/VC+c=; b=Dw49I8qifVDCORWLRdtpBY9ooKcZxEjz2rc/KtxMb3rpM9VgH9M9vzmE0C99ph48hG B4DFLdKLK/Iezm85RKrniMhZYCNoCU2AfUjlyOsNy3vbPTaSzk7Ag57GCgNsshy03qTd Oe87p1SLyxn+tTUhfeSrz/DJmY9lFundHyKQQs1r5dVdvtRZ8NSMHlURt3EsfrLuAUW2 82N13FPIgVgdGIQc+sY4MdguhhPxCg+zkF413zNlN5CbAfX5wBxwePrIs4OtP9Pr8YAf b0WBAjnmLyH9S/hAsy9nDql1h8n6wf6IkiOmolfN4f4mAxWiRr9lYBDisfaGOtyR+ULj Rn9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=YkhaHXSsDqirPfbF2CFOp3B+1zltTG0E4zKqdP/VC+c=; b=Zy38J/qgSlD+1a+mjIcwaKumR0MospwNRreIglIUCm37FdbOT8tFtiCj/Nej37B6q0 ewWi8SIZ92iv78vocHVIuaBJn9pWxEEEaNbbbUwcctSpKSmQPwri05ItDMEff+MqrdpT KsiKFrdgXUzVvMdUzGwkSGIhfPvADh4pFZgQUogTgms80xkGkhUFFojP8dFEEJrP0/sj RrAn/WVCyCSwYzYhziA00MFzKX3VyFly1xCi0ktpTUC1aP29zJjxPfPVp/Fa1uwiZIep x6iYWrrx8p8xf91+Otccxtd7y6MNKJ+GC3MlfyYCs9pGi6T044rqXX0McrldLv569uX9 4qWQ== X-Gm-Message-State: APjAAAWM3TfCDPFP24NDojGoisavrgADmMEm+T0BqNkiu4Krq9Y70hWP R6Ryh4Ia/8fbVOPXBkGpGhaxiQ== X-Google-Smtp-Source: APXvYqytwCb3ZVQn9qLgXXk+sTvXDqBUutYEvS0fjTCi17iuFjOtgFUudKA9oaz/cAwAyjiut+zA0g== X-Received: by 2002:a05:620a:a85:: with SMTP id v5mr9941501qkg.471.1572945820720; Tue, 05 Nov 2019 01:23:40 -0800 (PST) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id u27sm12218079qtj.5.2019.11.05.01.23.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Nov 2019 01:23:40 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: 5.4-rc1 boot regression with kmemleak enabled Date: Tue, 5 Nov 2019 04:23:39 -0500 Message-Id: <036DEC84-92EE-4A47-B078-ADC605482255@lca.pw> References: Cc: Catalin Marinas , Theodore Tso , fstests , Matthew Wilcox , Michal Hocko , Andrew Morton , Linus Torvalds , Linux MM , linux-kernel In-Reply-To: To: Amir Goldstein X-Mailer: iPhone Mail (17A878) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Nov 5, 2019, at 2:14 AM, Amir Goldstein wrote: >=20 > My kvm-xfstests [1] VM doesn't boot with kmemleak enabled since commit > c5665868183f ("mm: kmemleak: use the memory pool for early allocations"). >=20 > There is no console output when running: >=20 > $ kvm -boot order=3Dc -net none -machine type=3Dpc,accel=3Dkvm:tcg -cpu ho= st \ > -drive file=3D$ROOTFS,if=3Dvirtio,snapshot=3Don -vga none -nographic \ > -smp 2 -m 2048 -serial mon:stdio --kernel $KERNEL \ > --append 'root=3D/dev/vda console=3DttyS0,115200' >=20 > $ kvm --version > QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.19) > Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers >=20 > Attached defconfig saved by 'make savedefconfig'. >=20 > I tried increasing DEBUG_KMEMLEAK_MEM_POOL_SIZE, which did not help. It probably use a bit more memory than before. Does lower the parameter help= ? Eventually, It should boot with POOL_SIZE=3D0, no?=