[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18f454a9-3ed1-7a04-4af3-778281e3958c@cn.fujitsu.com>
Date: Wed, 25 Oct 2017 16:06:44 +0800
From: Dou Liyang <douly.fnst@...fujitsu.com>
To: Juergen Gross <jgross@...e.com>, <linux-kernel@...r.kernel.org>,
<x86@...nel.org>
CC: <hpa@...or.com>, <tglx@...utronix.de>, <mingo@...hat.com>,
<arnd@...db.de>, <peterz@...radead.org>
Subject: Re: [PATCH] paravirt/locks: avoid modifying static key before
jump_label_init()
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.
Powered by blists - more mailing lists