Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This function removes the dynamically allocated 'nop' functions.* We could be pretty aggressive. NOPs do not change the existing* behavior except for adding unnecessary delay by the ftrace handler.* It is safe even when the transition was forced

Proto:void klp_discard_nops(struct klp_patch *new_patch)

Type:void

Parameter:

TypeParameterName
struct klp_patch *new_patch
1095  klp_unpatch_objects_dynamic(klp_transition_patch)
1096  klp_free_objects_dynamic(klp_transition_patch)
Caller
NameDescribe
klp_complete_transitionThe transition to the target patch state is complete. Clean up the data* structures.