diff options
author | Isaac J. Manjarres <[email protected]> | 2023-01-24 15:02:54 -0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-01-31 16:44:09 -0800 |
commit | 8ef852f1cb426a5812aee700d3b4297aaa426acc (patch) | |
tree | b7209bf5e8f6e5a6d16b93b1002806aaec07822e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0d7866eace86c174e2d4f4fe3a7eca7a3a31247a (diff) |
Revert "mm: kmemleak: alloc gray object for reserved region with direct map"
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.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 972fa3a7c17c9 ("mm: kmemleak: alloc gray object for reserved region with direct map")
Signed-off-by: Isaac J. Manjarres <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Calvin Zhang <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Saravana Kannan <[email protected]>
Cc: <[email protected]> [5.17+]
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions