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 CA1F0C433EF for ; Tue, 31 May 2022 16:59:33 +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=FxFPGt0Cr5gjCE3UjFCL5xFM2NBNIi1JcM6IZwS3ci0=; b=THEE/LlBvTpwQ3 PMIbFU9jSSlpm6pLgYy1K4d5/gW7Cc+YQRdFlp0QqXAzZ0b6spkijVkJgbRkmlHcUVMluH5zoYe9G dMjL/8IzCehm8XBrmHtVBBEh/C9/Vogiit+Z1oPwbcqwuWhwCTpeBXGD6YnWz42l1F/4ZBvd+s2RX +56r/2Tlra8+g6O2mFOWmfi+yKxWoB7nPmNwQMI9HtOM2NV/S4wxRB4I9xVEJNHaZsOMPqPDmRdAR pESOJmb4d1n/e6WouiJP4e3zfj1YIdwVJ9xkto6GM7ldC+RS7wEmnkOTC92kkTz+wo0uPZdam1bv/ mnuNeGPMdsKhZIIvWFYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw5BJ-00BweZ-TA; Tue, 31 May 2022 16:57:22 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nw5BG-00Bwcj-QV for linux-arm-kernel@lists.infradead.org; Tue, 31 May 2022 16:57:20 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BAFC060C91; Tue, 31 May 2022 16:57:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51BE0C34114; Tue, 31 May 2022 16:57:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654016237; bh=OAsO/LDcILzsEYb7Ai+a+cFkwhmI78SSd8v+OAbhhmE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cw6Cl91tM514+EB8xrik4iPkzjJgRrMM1pZnMZo55VT8zieiuYdS66MhIrmbBp9Jm XODXUoxP068OSfkzpTu8v9a6/DL6imlDZ6pwnUVUMQkaSQYcN4mnLj8lTOXdRvSxBr bhKt5PZddhw1LkFrsWtcHWxtzzIAYxZ/BQRrTreRFXnK7aJdYIUIR1ITugUWJhM3QS OtesMoaNRwMPuVS73YThb5ZAzhlBuBtIt7BYTrh2zJjdF9Q52mpTLU+nvoOav0rLQf HqXkQ5gNqshdEX3zIEqCIlHw6xTLNrdEecGsH93r4aoaUlyLk18peKdzTJxDHfA3cq EYFAj7IKjzfmw== Date: Tue, 31 May 2022 17:57:11 +0100 From: Will Deacon To: Qian Cai Cc: Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: arm64: Fix memory leaks from stage2 pagetable Message-ID: <20220531165710.GB25631@willie-the-truck> References: <20220526203956.143873-1-quic_qiancai@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220526203956.143873-1-quic_qiancai@quicinc.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220531_095718_937254_35FB738C X-CRM114-Status: GOOD ( 10.64 ) 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 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. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel