函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\transition.c Create Date:2022-07-27 11:32:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This function can be called in the middle of an existing transition to* reverse the direction of the target patch state. This can be done to* effectively cancel an existing enable or disable operation if there are any

函数原型:void klp_reverse_transition(void)

返回类型:void

参数:

583  pr_debug("'%s': reversing transition from %s\n", Unique handle for this module , klp_target_state == KLP_PATCHED ? "patching to unpatching" : "unpatching to patching")
588  enabled等于非enabled
590  klp_target_state等于非klp_target_state
597  read_lock( & tasklist_lock)
598  Careful: this is a double loop, 'break' won't work as expected. (g, task)
599  清除线程指定标志
600  read_unlock( & tasklist_lock)
602  遍历可用CPU(cpu)
603  清除线程指定标志
606  We allow to patch also functions where RCU is not watching,* e
608  Start the transition to the specified target patch state so tasks can begin* switching to it.
调用者
名称描述
enabled_store