Function report |
Source Code:kernel\livepatch\transition.c |
Create Date:2022-07-28 10:32:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Drop TIF_PATCH_PENDING of all tasks on admin's request. This forces an* existing transition to finish.* NOTE: klp_update_patch_state(task) requires the task to be inactive or* 'current'. This is not the case here and the consistency model could be* broken
Proto:void klp_force_transition(void)
Type:void
Parameter:Nothing
| 634 | pr_warn("forcing remaining tasks to the patched state\n") |
| 636 | read_lock( & tasklist_lock) |
| 639 | read_unlock( & tasklist_lock) |
| 641 | for_each_possible_cpu(cpu) |
| 644 | klp_for_each_patch(patch) |
| 645 | forced = true |
| Name | Describe |
|---|---|
| force_store |
| 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 |