Re: [PATCH] paravirt/locks: avoid modifying static key before jump_label_init()

From: Dou Liyang
Date: Wed Oct 25 2017 - 04:06:59 EST


Hi Juergen,


How about moving the check of xen_pvspin into native_pv_lock_init()
like below?

This would leak xen_pvspin to non-Xen code. I'd rather do the

Oops, yes, I made the mistake. Please ignore it.

static_branch_disable() in xen_init_lock_cpu() if cpu == 0.


Yes. I will test it. :-)

Thanks,
dou.