On Tue, Sep 19, 2023 at 04:04:48PM +0800, Guo Ren wrote:
> On Tue, Sep 19, 2023 at 1:30 PM Leonardo Bras wrote:
> >
> > On Sun, Sep 17, 2023 at 11:12:31PM +0800, Guo Ren wrote:
> > > On Thu, Sep 14, 2023 at 4:02 PM Leonardo Bras wrote:
> > > >
> > > > On Sun, Sep 10, 2023 at 04:29:02AM -0400, guo
On Tue, Sep 19, 2023 at 1:30 PM Leonardo Bras wrote:
>
> On Sun, Sep 17, 2023 at 11:12:31PM +0800, Guo Ren wrote:
> > On Thu, Sep 14, 2023 at 4:02 PM Leonardo Bras wrote:
> > >
> > > On Sun, Sep 10, 2023 at 04:29:02AM -0400, guo...@kernel.org wrote:
> > > > From: Guo Ren
> > > >
> > > > Add a st
On Sun, Sep 17, 2023 at 11:12:31PM +0800, Guo Ren wrote:
> On Thu, Sep 14, 2023 at 4:02 PM Leonardo Bras wrote:
> >
> > On Sun, Sep 10, 2023 at 04:29:02AM -0400, guo...@kernel.org wrote:
> > > From: Guo Ren
> > >
> > > Add a static key controlling whether virt_spin_lock() should be
> > > called o
On Thu, Sep 14, 2023 at 4:02 PM Leonardo Bras wrote:
>
> On Sun, Sep 10, 2023 at 04:29:02AM -0400, guo...@kernel.org wrote:
> > From: Guo Ren
> >
> > Add a static key controlling whether virt_spin_lock() should be
> > called or not. When running on bare metal set the new key to
> > false.
> >
> >
On Sun, Sep 10, 2023 at 04:29:02AM -0400, guo...@kernel.org wrote:
> From: Guo Ren
>
> Add a static key controlling whether virt_spin_lock() should be
> called or not. When running on bare metal set the new key to
> false.
>
> The KVM guests fall back to a Test-and-Set spinlock, because fair
> l
From: Guo Ren
Add a static key controlling whether virt_spin_lock() should be
called or not. When running on bare metal set the new key to
false.
The KVM guests fall back to a Test-and-Set spinlock, because fair
locks have horrible lock 'holder' preemption issues. The
virt_spin_lock_key would sh