Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\jump_label.c Create Date:2022-07-28 13:48:59
Last Modify:2020-03-17 20:59:06 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apply_jump_label_nops - patch module jump labels with arch_get_jump_label_nop()*@mod: module to patch* Allow for run-time selection of the optimal nops. Before the module* loads patch these with arch_get_jump_label_nop(), which is specified by

Proto:void jump_label_apply_nops(struct module *mod)

Type:void

Parameter:

TypeParameterName
struct module *mod
592  iter_start = jump_entries
593  iter_stop = iter_start + num_jump_entries
597  If iter_start == iter_stop Then Return
600  When iter < iter_stop cycle
602  If jump_label_init_type(iter) == JUMP_LABEL_NOP Then Update code which is definitely not currently executing.* Architectures which need heavyweight synchronization to modify* running code can override this to make the non-live update case* cheaper.