Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\core.c Create Date:2022-07-28 10:30:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:klp_free_replaced_patches_async

Proto:void klp_free_replaced_patches_async(struct klp_patch *new_patch)

Type:void

Parameter:

TypeParameterName
struct klp_patch *new_patch
691  klp_for_each_patch_safe(old_patch, tmp_patch)
692  If old_patch == new_patch Then Return
694  klp_free_patch_async(old_patch)
Caller
NameDescribe
klp_try_complete_transitionTry to switch all remaining tasks to the target patch state by walking the* stacks of sleeping tasks and looking for any to-be-patched or* to-be-unpatched functions. If such functions are found, the task can't be* switched yet.