| Function report | 
| Source Code: kernel\hung_task.c | Create Date:2022-07-28 11:45:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Check whether a TASK_UNINTERRUPTIBLE does not get woken up for* a really long time (120 seconds). If that happens, print out* a warning.
Proto:static void check_hung_uninterruptible_tasks(unsigned long timeout)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | timeout | 
| 176 | last_break = jiffies | 
| 183 | If test_taint(TAINT_DIE) || did_panic Then Return | 
| 186 | hung_task_show_lock = false | 
| 194 | last_break = jiffies | 
| 197 | If run state == TASK_UNINTERRUPTIBLE Then check_hung_task(t, timeout) | 
| 200 | unlock : | 
| 202 | If hung_task_show_lock Then debug_show_all_locks() | 
| 204 | If hung_task_call_panic Then | 
| Name | Describe | 
|---|---|
| watchdog | kthread which checks for tasks stuck in D state | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |