diff options
author | 2022-06-11 11:55:50 +0800 | |
---|---|---|
committer | 2022-06-16 19:48:30 -0700 | |
commit | 0c24e061196c21d53328d60f4ad0e5a2b3183343 (patch) | |
tree | c3d8265401425759229d3622f472612a271d88c7 /init/main.c | |
parent | mm: kmemleak: add OBJECT_PHYS flag for objects allocated with physical address (diff) | |
download | linux-0c24e061196c21d53328d60f4ad0e5a2b3183343.tar.gz linux-0c24e061196c21d53328d60f4ad0e5a2b3183343.tar.bz2 linux-0c24e061196c21d53328d60f4ad0e5a2b3183343.zip |
mm: kmemleak: add rbtree and store physical address for objects allocated with PA
Add object_phys_tree_root to store the objects allocated with physical
address. Distinguish it from object_tree_root by OBJECT_PHYS flag or
function argument. The physical address is stored directly in those
objects.
Link: https://lkml.kernel.org/r/20220611035551.1823303-4-patrick.wang.shcn@gmail.com
Signed-off-by: Patrick Wang <patrick.wang.shcn@gmail.com>
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Yee Lee <yee.lee@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions