Displaying 20 results from an estimated 25 matches for "bytelocks".
2014 Apr 03
2
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...ork in HVM? I saw
Yes.
> that in RHEL7, PV spinlock was explicitly disabled when in HVM mode.
> However, this piece of code isn't in upstream code. So I wonder if
> there is problem with that.
The PV ticketlock fixed it for HVM. It was disabled before because
the PV guests were using bytelocks while the HVM were using ticketlocks
and you couldnt' swap in PV bytelocks for ticketlocks during startup.
>
> -Longman
2014 Apr 03
2
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...ork in HVM? I saw
Yes.
> that in RHEL7, PV spinlock was explicitly disabled when in HVM mode.
> However, this piece of code isn't in upstream code. So I wonder if
> there is problem with that.
The PV ticketlock fixed it for HVM. It was disabled before because
the PV guests were using bytelocks while the HVM were using ticketlocks
and you couldnt' swap in PV bytelocks for ticketlocks during startup.
>
> -Longman
2015 Mar 26
2
[PATCH 0/9] qspinlock stuff -v15
On Wed, Mar 25, 2015 at 03:47:39PM -0400, Konrad Rzeszutek Wilk wrote:
> Ah nice. That could be spun out as a seperate patch to optimize the existing
> ticket locks I presume.
Yes I suppose we can do something similar for the ticket and patch in
the right increment. We'd need to restructure the code a bit, but
its not fundamentally impossible.
We could equally apply the head hashing to
2015 Mar 26
2
[PATCH 0/9] qspinlock stuff -v15
On Wed, Mar 25, 2015 at 03:47:39PM -0400, Konrad Rzeszutek Wilk wrote:
> Ah nice. That could be spun out as a seperate patch to optimize the existing
> ticket locks I presume.
Yes I suppose we can do something similar for the ticket and patch in
the right increment. We'd need to restructure the code a bit, but
its not fundamentally impossible.
We could equally apply the head hashing to
2014 Apr 04
1
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...citly disabled when in HVM mode.
> >>>>However, this piece of code isn't in upstream code. So I wonder if
> >>>>there is problem with that.
> >>>The PV ticketlock fixed it for HVM. It was disabled before because
> >>>the PV guests were using bytelocks while the HVM were using ticketlocks
> >>>and you couldnt' swap in PV bytelocks for ticketlocks during startup.
> >>The RHEL7 code has used PV ticketlock already. RHEL7 uses a single
> >>kernel for all configurations. So PV ticketlock as well as Xen and
> >&g...
2014 Apr 04
1
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...citly disabled when in HVM mode.
> >>>>However, this piece of code isn't in upstream code. So I wonder if
> >>>>there is problem with that.
> >>>The PV ticketlock fixed it for HVM. It was disabled before because
> >>>the PV guests were using bytelocks while the HVM were using ticketlocks
> >>>and you couldnt' swap in PV bytelocks for ticketlocks during startup.
> >>The RHEL7 code has used PV ticketlock already. RHEL7 uses a single
> >>kernel for all configurations. So PV ticketlock as well as Xen and
> >&g...
2015 Mar 27
0
[PATCH 0/9] qspinlock stuff -v15
...echanism you just use the byte spinlock - which is good.
And switching to PV ticketlock implementation after boot.. ugh. I feel your pain.
What if you used an PV bytelock implemenation? The code you posted already
'sprays' all the vCPUS to wake up. And that is exactly what you need for PV
bytelocks - well, you only need to wake up the vCPUS that have gone to sleep
waiting on an specific 'struct spinlock' and just stash those in an per-cpu
area. The old Xen spinlock code (Before 3.11?) had this.
Just an idea thought.
2015 Mar 27
0
[PATCH 0/9] qspinlock stuff -v15
...echanism you just use the byte spinlock - which is good.
And switching to PV ticketlock implementation after boot.. ugh. I feel your pain.
What if you used an PV bytelock implemenation? The code you posted already
'sprays' all the vCPUS to wake up. And that is exactly what you need for PV
bytelocks - well, you only need to wake up the vCPUS that have gone to sleep
waiting on an specific 'struct spinlock' and just stash those in an per-cpu
area. The old Xen spinlock code (Before 3.11?) had this.
Just an idea thought.
2014 Apr 04
0
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...s.
>> that in RHEL7, PV spinlock was explicitly disabled when in HVM mode.
>> However, this piece of code isn't in upstream code. So I wonder if
>> there is problem with that.
> The PV ticketlock fixed it for HVM. It was disabled before because
> the PV guests were using bytelocks while the HVM were using ticketlocks
> and you couldnt' swap in PV bytelocks for ticketlocks during startup.
The RHEL7 code has used PV ticketlock already. RHEL7 uses a single
kernel for all configurations. So PV ticketlock as well as Xen and KVM
support was compiled in. I think booting t...
2014 Jun 18
3
[PATCH 04/11] qspinlock: Extract out the exchange of tail code word
On Wed, Jun 18, 2014 at 01:37:45PM +0200, Paolo Bonzini wrote:
> Il 17/06/2014 22:55, Konrad Rzeszutek Wilk ha scritto:
> >On Sun, Jun 15, 2014 at 02:47:01PM +0200, Peter Zijlstra wrote:
> >>From: Waiman Long <Waiman.Long at hp.com>
> >>
> >>This patch extracts the logic for the exchange of new and previous tail
> >>code words into a new
2014 Jun 18
3
[PATCH 04/11] qspinlock: Extract out the exchange of tail code word
On Wed, Jun 18, 2014 at 01:37:45PM +0200, Paolo Bonzini wrote:
> Il 17/06/2014 22:55, Konrad Rzeszutek Wilk ha scritto:
> >On Sun, Jun 15, 2014 at 02:47:01PM +0200, Peter Zijlstra wrote:
> >>From: Waiman Long <Waiman.Long at hp.com>
> >>
> >>This patch extracts the logic for the exchange of new and previous tail
> >>code words into a new
2014 Apr 04
0
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...inlock was explicitly disabled when in HVM mode.
>>>> However, this piece of code isn't in upstream code. So I wonder if
>>>> there is problem with that.
>>> The PV ticketlock fixed it for HVM. It was disabled before because
>>> the PV guests were using bytelocks while the HVM were using ticketlocks
>>> and you couldnt' swap in PV bytelocks for ticketlocks during startup.
>> The RHEL7 code has used PV ticketlock already. RHEL7 uses a single
>> kernel for all configurations. So PV ticketlock as well as Xen and
>> KVM support wa...
2014 Apr 02
2
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
On 04/02/2014 10:32 AM, Konrad Rzeszutek Wilk wrote:
> On Wed, Apr 02, 2014 at 09:27:29AM -0400, Waiman Long wrote:
>> N.B. Sorry for the duplicate. This patch series were resent as the
>> original one was rejected by the vger.kernel.org list server
>> due to long header. There is no change in content.
>>
>> v7->v8:
>> - Remove one unneeded
2014 Apr 02
2
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
On 04/02/2014 10:32 AM, Konrad Rzeszutek Wilk wrote:
> On Wed, Apr 02, 2014 at 09:27:29AM -0400, Waiman Long wrote:
>> N.B. Sorry for the duplicate. This patch series were resent as the
>> original one was rejected by the vger.kernel.org list server
>> due to long header. There is no change in content.
>>
>> v7->v8:
>> - Remove one unneeded
2014 Jun 20
2
[PATCH 10/11] qspinlock: Paravirt support
On Sun, Jun 15, 2014 at 02:47:07PM +0200, Peter Zijlstra wrote:
> Add minimal paravirt support.
>
> The code aims for minimal impact on the native case.
Woot!
>
> On the lock side we add one jump label (asm_goto) and 4 paravirt
> callee saved calls that default to NOPs. The only effects are the
> extra NOPs and some pointless MOVs to accomodate the calling
> convention.
2014 Jun 20
2
[PATCH 10/11] qspinlock: Paravirt support
On Sun, Jun 15, 2014 at 02:47:07PM +0200, Peter Zijlstra wrote:
> Add minimal paravirt support.
>
> The code aims for minimal impact on the native case.
Woot!
>
> On the lock side we add one jump label (asm_goto) and 4 paravirt
> callee saved calls that default to NOPs. The only effects are the
> extra NOPs and some pointless MOVs to accomodate the calling
> convention.
2014 Jun 18
0
[PATCH 04/11] qspinlock: Extract out the exchange of tail code word
On 06/18/2014 09:50 AM, Konrad Rzeszutek Wilk wrote:
> On Wed, Jun 18, 2014 at 01:37:45PM +0200, Paolo Bonzini wrote:
>> Il 17/06/2014 22:55, Konrad Rzeszutek Wilk ha scritto:
>>> On Sun, Jun 15, 2014 at 02:47:01PM +0200, Peter Zijlstra wrote:
>>>> From: Waiman Long<Waiman.Long at hp.com>
>>>>
>>>> This patch extracts the logic for the
2014 Mar 17
2
[PATCH v6 05/11] pvqspinlock, x86: Allow unfair spinlock in a PV guest
On Mon, Mar 17, 2014 at 01:44:34PM -0400, Waiman Long wrote:
> On 03/14/2014 04:30 AM, Peter Zijlstra wrote:
> >On Thu, Mar 13, 2014 at 04:05:19PM -0400, Waiman Long wrote:
> >>On 03/13/2014 11:15 AM, Peter Zijlstra wrote:
> >>>On Wed, Mar 12, 2014 at 02:54:52PM -0400, Waiman Long wrote:
> >>>>+static inline void arch_spin_lock(struct qspinlock *lock)
2014 Mar 17
2
[PATCH v6 05/11] pvqspinlock, x86: Allow unfair spinlock in a PV guest
On Mon, Mar 17, 2014 at 01:44:34PM -0400, Waiman Long wrote:
> On 03/14/2014 04:30 AM, Peter Zijlstra wrote:
> >On Thu, Mar 13, 2014 at 04:05:19PM -0400, Waiman Long wrote:
> >>On 03/13/2014 11:15 AM, Peter Zijlstra wrote:
> >>>On Wed, Mar 12, 2014 at 02:54:52PM -0400, Waiman Long wrote:
> >>>>+static inline void arch_spin_lock(struct qspinlock *lock)
2014 Apr 04
3
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
...in RHEL7, PV spinlock was explicitly disabled when in HVM mode.
> >>However, this piece of code isn't in upstream code. So I wonder if
> >>there is problem with that.
> >The PV ticketlock fixed it for HVM. It was disabled before because
> >the PV guests were using bytelocks while the HVM were using ticketlocks
> >and you couldnt' swap in PV bytelocks for ticketlocks during startup.
>
> The RHEL7 code has used PV ticketlock already. RHEL7 uses a single
> kernel for all configurations. So PV ticketlock as well as Xen and
> KVM support was compiled...