search for: nmi_flag_first

Displaying 1 result from an estimated 1 matches for "nmi_flag_first".

2020 Apr 08
0
[RFC PATCH 19/26] x86/alternatives: NMI safe runtime patching
...atch_worker_t worker, void *stage) > text_poke_state.state = PATCH_SYNC_DONE; /* Start state */ > text_poke_state.primary_cpu = smp_processor_id(); > > + text_poke_state.nmi_context = nmi; > + > + if (nmi) > + register_nmi_handler(NMI_LOCAL, text_poke_nmi, > + NMI_FLAG_FIRST, "text_poke_nmi"); > /* > * Run the worker on all online CPUs. Don't need to do anything > * for offline CPUs as they come back online with a clean cache. > */ > ret = stop_machine(patch_worker, &text_poke_state, cpu_online_mask); > > + if (nmi)...