Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Start the automatic memory scanning thread. This function must be called* with the scan_mutex held.

Proto:static void start_scan_thread(void)

Type:void

Parameter:Nothing

1589  If scan_thread Then Return
1591  scan_thread = kthread_run - create and wake a thread.*@threadfn: the function to run until signal_pending(current).*@data: data ptr for @threadfn.*@namefmt: printf-style name for the thread.* Description: Convenient wrapper for kthread_create() followed by(Thread function performing automatic memory scanning. Unreferenced objects* at the end of a memory scan are reported but only the first time., NULL, "kmemleak")
1592  If IS_ERR(scan_thread) Then
1593  pr_warn("Failed to create the scan thread\n")
1594  scan_thread = NULL
Caller
NameDescribe
kmemleak_writeFile write operation to configure kmemleak at run-time
kmemleak_late_initLate initialization function.