search for: paravirt_after_bootmem

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

2018 Feb 26
0
[v1 1/1] xen, mm: Allow deferred page initialization for xen pv domains
...h > index 9be2bf13825b..737e596a9836 100644 > --- a/arch/x86/include/asm/paravirt.h > +++ b/arch/x86/include/asm/paravirt.h > @@ -820,6 +820,11 @@ static inline notrace unsigned long arch_local_irq_save(void) > > extern void default_banner(void); > > +static inline void paravirt_after_bootmem(void) > +{ > + pv_init_ops.after_bootmem(); > +} > + Putting this in the paravirt framework is overkill IMO. There is no need to patch the callsites for optimal performance. I'd put it into struct x86_hyper_init and pre-init it with x86_init_noop > #else /* __ASSEMBLY__ */ &...