Thread (7 messages) flat view 7 messages, 4 authors, 2018-08-07

Re: [PATCH] powerpc/mm: Don't report PUDs as memory leaks when using kmemleak

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-07-30 06:43:20

Paul Menzel [off-list ref] writes:
Am 19.07.2018 um 16:33 schrieb Michael Ellerman:
...
quoted
=20
The fix is fairly simple. We need to tell kmemleak to ignore PUD
allocations and never report them as leaks. We can also tell it not to
scan the PGD, because it will never find pointers in there. However it
will still notice if we allocate a PGD and then leak it.
=20
Reported-by: Paul Menzel <redacted>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> > ---
  arch/powerpc/include/asm/book3s/64/pgalloc.h | 23 ++++++++++++++++++++=
+--
quoted
  1 file changed, 21 insertions(+), 2 deletions(-)
[=E2=80=A6]

Tested-by: Paul Menzel <redacted> on IBM S822LC
Thanks.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help