Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1495061rdd; Thu, 11 Jan 2024 00:22:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+DHeu3RhMT6WlCa48SXG1zqqcHgC2Iz9x/6JC3CigI761DqJC5wYZWHeKfVbVq3B7kw6w X-Received: by 2002:a05:620a:56c:b0:783:2ec6:3d4 with SMTP id p12-20020a05620a056c00b007832ec603d4mr947037qkp.49.1704961370687; Thu, 11 Jan 2024 00:22:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704961370; cv=none; d=google.com; s=arc-20160816; b=lxRoKAHbDL6jho/g/Zi1N0Gxs24rjT3pRkUsqaT4efl4WXyuW0fuKC0BpCn0DLe+h0 H9oQsRe487E8y6dmPw5JF1tn8egyYMDbUS09sBPn8iI6cmrEhMH5nHXgLFukf2UnTw3e Cl2B/IqSNj9Frjd2r+sonR8rn1XJQLLpVRG9k+XoEVDkEmRa1iVaxWjAL0gqF1ik5opt 1G+Ru6dJnoPLuMsQvn2Tunrc54YjWl45n/vZ5Nz4xk4L7bLvn9oyW/UZNSwlH6wPQ9bN urEG8V2vu9oXLPpWkM5Kr2eMVi5klXFVrrHGYj2t+se1v9GDqwXV4+aoGI5Q5bsoNZBy klmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature; bh=uzELjG1LAz/gx8olsV0S39RBHTMknfMVVQPTdHT2PyA=; fh=ASkitx3QkTw8sA54fi/+nsgQH1alif9yDmZVnumb0P8=; b=qiG1kAqjLmoD1opqRAxDO1wLePh/5gsA+g9Hj3pyx8mxzEAvWT20ZbtCdFe5x4xQNh BerrYOeToS8pn4mn8RU3O/TEBY+zQA26CkwBDSagDpmWceGry7GiijDPhhSYCdkbRpZm IP1eijNBJ2MneGft+mBHhJ4lkkIYSpV7UhlB6bVfDeDXtPYJ87E/eeF8feYYlsC33+4e NuBRpiQ/lH3YtFKBhJlRWdQvO8fo16ATuE0Z0t0jZn52MVfPMdJP6/IJumY6b7mxFXUI 9LSNWXVc4j9w8rOiCncblPvsJslplHwa3fZFsi1qKQIctHZZGOVFN8OGTJfJ0O4Sj7jk +cgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=3d7BLwju; spf=pass (google.com: domain of linux-kernel+bounces-23211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23211-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i1-20020a05620a0a0100b0077fbe2de1bbsi457784qka.518.2024.01.11.00.22.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 00:22:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=3d7BLwju; spf=pass (google.com: domain of linux-kernel+bounces-23211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23211-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6FBA91C234CC for ; Thu, 11 Jan 2024 08:22:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7725CF9F7; Thu, 11 Jan 2024 08:20:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="3d7BLwju" Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BA1114F65 for ; Thu, 11 Jan 2024 08:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=idosch.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=idosch.org Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 30BEC5C018F; Thu, 11 Jan 2024 03:20:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 11 Jan 2024 03:20:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1704961232; x=1705047632; bh=uzELjG1LAz/gx8olsV0S39RBHTMk nfMVVQPTdHT2PyA=; b=3d7BLwjuWwx8RWHHm0NNrYXXisP0H6nvCtJecmA+xKZq PGDGLbVYmhFCBkKVuQEgRq+aFkRm2b0Rc7llH0bmILHfowGSa1pQVVSiDY8qNyXv z7O5TXsAoifhUPE7d8iv0C3GPH3euJIFIF1kTk3Y33ccT8ltx0cCHreelVJWU4Ui EFFy7XAGHET/2UoDC04be2GMPU/HS+g8Afl0g2Q7kOPmt8E8ZBPe55JOczn2RzXx aC2sRAqmBeKJgOuI3uICo7Zko/h7AxAo7JI7TFBhsu2WFTqN8XIaB/4kOxlq4FzK M0MflluZSiLyufOF0okx2hBvLiW6mGJp5exNIeFoKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeivddgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefkugho ucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrg htthgvrhhnpedvudefveekheeugeeftddvveefgfduieefudeifefgleekheegleegjeej geeghfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hiughoshgthhesihguohhstghhrdhorhhg X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Jan 2024 03:20:30 -0500 (EST) Date: Thu, 11 Jan 2024 10:20:27 +0200 From: Ido Schimmel To: Catalin Marinas Cc: Robin Murphy , joro@8bytes.org, will@kernel.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, zhangzekun11@huawei.com, john.g.garry@oracle.com, dheerajkumar.srivastava@amd.com, jsnitsel@redhat.com Subject: Re: [PATCH v3 0/2] iommu/iova: Make the rcache depot properly flexible Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jan 10, 2024 at 05:58:15PM +0000, Catalin Marinas wrote: > Transient false positives are possible, especially as the code doesn't > use a double-linked list (for the latter, kmemleak does checksumming and > detects the prev/next change, defers the reporting until the object > becomes stable). That said, if a new scan is forced (echo scan > > /sys/kernel/debug/kmemleak), are the same objects still listed as leaks? > If yes, they may not be transient. We are doing "scan" and "clear" after each test. I will disable the "clear" and see if the leaks persist.