Function report |
Source Code:kernel\hung_task.c |
Create Date:2022-07-28 11:45:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kthread which checks for tasks stuck in D state
Proto:static int watchdog(void *dummy)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | dummy |
| 273 | hung_last_checked = jiffies |
| 275 | set_user_nice(current process, 0) |
| 277 | cycle |
| 284 | interval = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, interval, timeout) |
| 286 | If t <= 0 Then |
| 290 | hung_last_checked = jiffies |
| 291 | Continue |
| 296 | Return 0 |
| 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 |