[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqKdHiZ0q8TkfjW6SUYg-_p4PxcGfA6SV0Q3Dif_dSY75Q@mail.gmail.com>
Date: Fri, 27 Jan 2023 15:40:03 -0600
From: Rob Herring <robh+dt@...nel.org>
To: "Isaac J. Manjarres" <isaacmanjarres@...gle.com>
Cc: Frank Rowand <frowand.list@...il.com>, stable@...r.kernel.org,
Saravana Kannan <saravanak@...gle.com>,
devicetree@...r.kernel.org,
Calvin Zhang <calvinzhang.cool@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
Catalin Marinas <catalin.marinas@....com>,
kernel-team@...roid.com, linux-kernel@...r.kernel.org
Subject: Re: [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@...nel.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@...r.kernel.org # 5.17+
> > Cc: Calvin Zhang <calvinzhang.cool@...il.com>
> > Signed-off-by: Isaac J. Manjarres <isaacmanjarres@...gle.com>
> > ---
> > drivers/of/fdt.c | 6 +-----
> > 1 file changed, 1 insertion(+), 5 deletions(-)
> >
>
> Applied, thanks!
Or not. Andrew already applied it.
Rob
Powered by blists - more mailing lists