Function report |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-28 07:45:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:"noinline" to cause control flow change and thus invalidate I$ and* cause refetch after modification.
Proto:static void __init_or_module noinline optimize_nops(struct alt_instr *a, u8 *instr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct alt_instr * | a | |
u8 * | instr |
347 | When i < length of build-time padding cycle |
352 | local_irq_save(flags) |
354 | local_irq_restore(flags) |
356 | DUMP_BYTES(instr, length of original instruction , "%px: [%d:%d) optimized NOPs: ", instr, length of original instruction - length of build-time padding , length of build-time padding ) |
Name | Describe |
---|---|
apply_alternatives | Replace instructions with better alternatives for this CPU type. This runs* before SMP is initialized to avoid SMP problems with self modifying code.* This implies that asymmetric systems where APs have less capabilities than |
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 |