mm: kmemleak: avoid using __va() on addresses that don't have a lowmem mapping
[deliverable/linux.git] / Documentation / dev-tools / kmemleak.rst
index 1788722d549503c3164e43cdbe9b26e091d2f919..b2391b8291691b9ac6752a450a1222898c1b29a1 100644 (file)
@@ -162,6 +162,15 @@ See the include/linux/kmemleak.h header for the functions prototype.
 - ``kmemleak_alloc_recursive`` - as kmemleak_alloc but checks the recursiveness
 - ``kmemleak_free_recursive``   - as kmemleak_free but checks the recursiveness
 
+The following functions take a physical address as the object pointer
+and only perform the corresponding action if the address has a lowmem
+mapping:
+
+- ``kmemleak_alloc_phys``
+- ``kmemleak_free_part_phys``
+- ``kmemleak_not_leak_phys``
+- ``kmemleak_ignore_phys``
+
 Dealing with false positives/negatives
 --------------------------------------
 
This page took 0.026573 seconds and 5 git commands to generate.