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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97897C433F5 for ; Tue, 31 May 2022 17:24:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=im9bmpLiCKQHGEFCicaqn3BnS+mt93PhAYwT7JbGGgg=; b=AvO8ambScG7qkK B9OO5zhzQ7xpe9LFaOeMBZp+370abCa+SUw/meIFkczWaJxAn3UsGKIiFV5hBKGf0vN+Fxcd3L0b/ BybSH62nP7ee+IwpyI5QauBrBMp098h4Wk0jYOh7ciGE0xcASOsiiDEXYbDcpfUcS3hMEzKY7bsNa imoBH7Z2p8a8/fWmToml2NCpczkK8krb2CeevstorAqFuseUNHUTqaDwNG7Qle+K4d+ubID7EI6dl MkWL/v7l9BnxHj+28p1uD6R6K7lyGOdPR6uhMsXCKy99FOVYtU00j6oadUYhSGji8cc1xB3prpYOx RaHwypqO2di0yLy5+V5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw5ap-00C3Bg-Mr; Tue, 31 May 2022 17:23:43 +0000 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw5al-00C390-Nd for linux-arm-kernel@lists.infradead.org; Tue, 31 May 2022 17:23:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654017819; x=1685553819; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SS4f2RJO4J6Dl+skZQyymBm8JwW6+FCYen5Pp0Bb79k=; b=hxJX5rtVgw+F7BC9PSGjuB96TdkyABZh3EX8Tb4IguXKgSQS/dAaYctU V3gX6L3NVXb0gfjDueKgkk7rb3X4aAv2THyychiPbWPLyk0zwUw4r64zM qTnXm3b4eY0EMzm6b6uvSwA0cdiAlE3IiweUD1gZc7L/K58cRutbCeVmt 0=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 31 May 2022 10:23:33 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 10:23:32 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 31 May 2022 10:23:32 -0700 Received: from qian (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 31 May 2022 10:23:31 -0700 Date: Tue, 31 May 2022 13:23:29 -0400 From: Qian Cai To: Will Deacon CC: Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , , , Subject: Re: [PATCH] KVM: arm64: Fix memory leaks from stage2 pagetable Message-ID: References: <20220526203956.143873-1-quic_qiancai@quicinc.com> <20220531165710.GB25631@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220531165710.GB25631@willie-the-truck> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220531_102339_835136_DEB61273 X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 31, 2022 at 05:57:11PM +0100, Will Deacon wrote: > On Thu, May 26, 2022 at 04:39:56PM -0400, Qian Cai wrote: > > Running some SR-IOV workloads could trigger some leak reports from > > kmemleak. > > > > unreferenced object 0xffff080243cef500 (size 128): > > comm "qemu-system-aar", pid 179935, jiffies 4298359506 (age 1629.732s) > > hex dump (first 32 bytes): > > 28 00 00 00 01 00 00 00 00 e0 4c 52 03 08 ff ff (.........LR.... > > e0 af a4 7f 7c d1 ff ff a8 3c b3 08 00 80 ff ff ....|....<...... > > backtrace: > > kmem_cache_alloc_trace > > kvm_init_stage2_mmu > > Hmm, I can't spot a 128-byte allocation in here so this is pretty cryptic. > I don't really like the idea of papering over the report; we'd be better off > trying to reproduce it. As far as I would like to reproduce, I have tried it in the last a few weeks without luck. It still happens from time to time though from our daily CI, so I was thinking to plug the knowns leaks first. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel