Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:43
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lockdep_sys_exit

Proto:asmlinkage __visible void lockdep_sys_exit(void)

Type:void

Parameter:Nothing

5369  curr = current process
5371  If Value for the false possibility is greater at compile time(lockdep_depth) Then
5372  If Not Generic 'turn off all lock debugging' function: Then Return
5374  pr_warn("\n")
5375  pr_warn("================================================\n")
5376  pr_warn("WARNING: lock held when returning to user space!\n")
5377  print_kernel_ident()
5378  pr_warn("------------------------------------------------\n")
5379  pr_warn("%s/%d is leaving the kernel with locks still held!\n", * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), process id)
5381  lockdep_print_held_locks(curr)
5388  lockdep_invariant_state(false)