lkml.org 
[lkml]   [2023]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v1] Revert "mm: kmemleak: alloc gray object for reserved region with direct map"
On Fri, Jan 27, 2023 at 3:38 PM Rob Herring <robh@kernel.org> wrote:
>
>
> On Tue, 24 Jan 2023 15:02:54 -0800, Isaac J. Manjarres wrote:
> > This reverts commit 972fa3a7c17c9d60212e32ecc0205dc585b1e769.
> >
> > Kmemleak operates by periodically scanning memory regions for pointers
> > to allocated memory blocks to determine if they are leaked or not.
> > However, reserved memory regions can be used for DMA transactions
> > between a device and a CPU, and thus, wouldn't contain pointers to
> > allocated memory blocks, making them inappropriate for kmemleak to
> > scan. Thus, revert this commit.
> >
> > Cc: stable@vger.kernel.org # 5.17+
> > Cc: Calvin Zhang <calvinzhang.cool@gmail.com>
> > Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
> > ---
> > drivers/of/fdt.c | 6 +-----
> > 1 file changed, 1 insertion(+), 5 deletions(-)
> >
>
> Applied, thanks!

Or not. Andrew already applied it.

Rob

\
 
 \ /
  Last update: 2023-03-27 00:00    [W:0.067 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site