]> Git Repo - linux.git/commit - mm/kmemleak.c
mm: kmemleak: add rbtree and store physical address for objects allocated with PA
authorPatrick Wang <[email protected]>
Sat, 11 Jun 2022 03:55:50 +0000 (11:55 +0800)
committerakpm <[email protected]>
Fri, 17 Jun 2022 02:48:30 +0000 (19:48 -0700)
commit0c24e061196c21d53328d60f4ad0e5a2b3183343
treec3d8265401425759229d3622f472612a271d88c7
parent8e0c4ab36c61c514a9c1caaf5707d1f55ab5f6df
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/[email protected]
Signed-off-by: Patrick Wang <[email protected]>
Suggested-by: Catalin Marinas <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Cc: Yee Lee <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/kmemleak.c
This page took 0.050409 seconds and 4 git commands to generate.