search for: caller_addr

Displaying 3 results from an estimated 3 matches for "caller_addr".

Did you mean: caller_addr0
2023 Jan 26
1
[PATCH 2/2] vhost: check for pending livepatches from vhost worker kthreads
...updated * @calller_addr: address of the function which calls this one * * Do not update the patch set when called from a livepatch. * It would allow to remove the livepatch module even when * the code still might be in use. */ void klp_update_patch_state_safe(struct task_struct *task, void *caller_addr) { static bool checked; static bool safe; if (unlikely(!checked)) { struct module *mod; preempt_disable(); mod = __module_address(caller_addr); if (!mod || !is_livepatch_module(mod)) safe = true; checked = true; preempt_enable(); } if (safe) klp_update_patch_state(task); }...
2020 Aug 11
3
[PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers
On Tue, Aug 11, 2020 at 11:20:54AM +0200, peterz at infradead.org wrote: > On Tue, Aug 11, 2020 at 10:38:50AM +0200, J?rgen Gro? wrote: > > In case you don't want to do it I can send the patch for the Xen > > variants. > > I might've opened a whole new can of worms here. I'm not sure we > can/want to fix the entire fallout this release :/ > > Let me
2020 Aug 11
3
[PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers
On Tue, Aug 11, 2020 at 11:20:54AM +0200, peterz at infradead.org wrote: > On Tue, Aug 11, 2020 at 10:38:50AM +0200, J?rgen Gro? wrote: > > In case you don't want to do it I can send the patch for the Xen > > variants. > > I might've opened a whole new can of worms here. I'm not sure we > can/want to fix the entire fallout this release :/ > > Let me