Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kmemleak.c Create Date:2022-07-28 16:22:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kmemleak_do_cleanup

Proto:static void __kmemleak_do_cleanup(void)

Type:void

Parameter:Nothing

1852  Remove an object from the object_tree_root and object_list. Must be called* with the kmemleak_lock held _if_ kmemleak is still enabled.
1853  Mark the object as not allocated and schedule RCU freeing via put_object().
Caller
NameDescribe
kmemleak_writeFile write operation to configure kmemleak at run-time
kmemleak_do_cleanupStop the memory scanning thread and free the kmemleak internal objects if* no previous scan thread (otherwise, kmemleak may still have some useful* information on memory leaks).