[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YqHDQ2MOJ1RG9LLA@arm.com>
Date: Thu, 9 Jun 2022 10:54:11 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Patrick Wang <patrick.wang.shcn@...il.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, yee.lee@...iatek.com
Subject: Re: [PATCH v2 1/4] mm: kmemleak: add OBJECT_PHYS flag for objects
allocated with physical address
On Tue, Jun 07, 2022 at 10:32:26PM +0800, Patrick Wang wrote:
> The leak check could be taken on physical objects. Conversion
> of block address from virtual to physical before lookup should
> make this work (this is useless currently). I think we'd better
> know about this.
Yes, we could add this, but since all the phys objects are currently
'gray', it won't make any difference, other than an extra lookup in the
phys tree.
--
Catalin
Powered by blists - more mailing lists