Lines Matching +full:6 +full:a
4 Kmemleak provides a way of detecting possible kernel memory leaks in a
5 way similar to a `tracing garbage collector
8 reported via /sys/kernel/debug/kmemleak. A similar method is used by the
15 CONFIG_DEBUG_KMEMLEAK in "Kernel hacking" has to be enabled. A kernel
58 trigger a memory scan
86 information like size and stack trace, are stored in a rbtree.
94 block to a freeing function and therefore the block is considered a
103 a pointer to a white object is found, the object is added to the
115 block is not considered a leak. One example is __vmalloc().
124 /sys/kernel/debug/kmemleak output. By issuing a 'scan' after a 'clear'
128 To test a critical section on demand with a clean kmemleak do::
144 a large part of physical memory.
156 - ``kmemleak_alloc`` - notify of a memory block allocation
157 - ``kmemleak_alloc_percpu`` - notify of a percpu memory block allocation
158 - ``kmemleak_vmalloc`` - notify of a vmalloc() memory allocation
159 - ``kmemleak_free`` - notify of a memory block freeing
160 - ``kmemleak_free_part`` - notify of a partial memory block freeing
161 - ``kmemleak_free_percpu`` - notify of a percpu memory block freeing
163 - ``kmemleak_not_leak`` - mark an object as not a leak
164 - ``kmemleak_transient_leak`` - mark an object as a transient leak
166 - ``kmemleak_scan_area`` - add scan areas inside a memory block
167 - ``kmemleak_no_scan`` - do not scan a memory block
168 - ``kmemleak_erase`` - erase an old value in a pointer variable
172 The following functions take a physical address as the object pointer
173 and only perform the corresponding action if the address has a lowmem
199 the minimum age of an object to be reported as a memory leak.
211 address inside a block's address range. This may lead to an increased
212 number of false negatives. However, it is likely that a real memory leak
216 values. In a future version, kmemleak could only scan the pointer
223 macro or the pointer is stored in a location not scanned by kmemleak.
231 module, a module that deliberately leaks memory. Set CONFIG_SAMPLE_KMEMLEAK
233 enabled. Load the module and perform a scan with::
246 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
247 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5 kkkkkkkkkkkkkkk.