/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XEN_MULTICALLS_H #define _XEN_MULTICALLS_H #include <trace/events/xen.h> #include "xen-ops.h" /* Multicalls */ struct multicall_space { struct multicall_entry *mc; void *args; }; /* Allocate room for a multicall and its args */ struct multicall_space __xen_mc_entry(size_t args); DECLARE_PER_CPU(unsigned long, xen_mc_irq_flags); /* Call to start a batch of multiple __xen_mc_entry()s. Must be paired with xen_mc_issue() */
static inline void xen_mc_batch(void) { unsigned long flags; /* need to disable interrupts until this entry is complete */ local_irq_save(flags); trace_xen_mc_batch(paravirt_get_lazy_mode()); __this_cpu_write(xen_mc_irq_flags, flags); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 29 | 90.62% | 3 | 75.00% |
Christoph Lameter | 3 | 9.38% | 1 | 25.00% |
Total | 32 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 37 | 97.37% | 3 | 75.00% |
Alex Shi | 1 | 2.63% | 1 | 25.00% |
Total | 38 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 173 | 97.19% | 7 | 70.00% |
Christoph Lameter | 3 | 1.69% | 1 | 10.00% |
Alex Shi | 1 | 0.56% | 1 | 10.00% |
Greg Kroah-Hartman | 1 | 0.56% | 1 | 10.00% |
Total | 178 | 100.00% | 10 | 100.00% |