search for: mcs_index

Displaying 5 results from an estimated 5 matches for "mcs_index".

Did you mean: cu_index
2014 Jun 17
3
[PATCH 04/11] qspinlock: Extract out the exchange of tail code word
...> - val = old; > - } > + if (queue_spin_trylock(lock)) > + goto release; So now are three of them? One in queue_spin_lock, then at the start of this function when checking for the pending bit, and the once more here. And that is because the local cache line might be cold for the 'mcs_index' struct? That all seems to be a bit of experimental. But then we are already in the slowpath so we could as well do: for (i = 0; i < 10; i++) if (queue_spin_trylock(lock)) goto release; And would have the same effect. > > /* > - * we won the trylock; forget about queuei...
2014 Jun 17
3
[PATCH 04/11] qspinlock: Extract out the exchange of tail code word
...> - val = old; > - } > + if (queue_spin_trylock(lock)) > + goto release; So now are three of them? One in queue_spin_lock, then at the start of this function when checking for the pending bit, and the once more here. And that is because the local cache line might be cold for the 'mcs_index' struct? That all seems to be a bit of experimental. But then we are already in the slowpath so we could as well do: for (i = 0; i < 10; i++) if (queue_spin_trylock(lock)) goto release; And would have the same effect. > > /* > - * we won the trylock; forget about queuei...
2014 Jun 18
0
[PATCH 04/11] qspinlock: Extract out the exchange of tail code word
...> + if (queue_spin_trylock(lock)) >> + goto release; > > So now are three of them? One in queue_spin_lock, then at the start > of this function when checking for the pending bit, and the once more > here. And that is because the local cache line might be cold for the > 'mcs_index' struct? > > That all seems to be a bit of experimental. But then we are already > in the slowpath so we could as well do: > > for (i = 0; i < 10; i++) > if (queue_spin_trylock(lock)) > goto release; > > And would have the same effect. > > >> >&gt...
2014 Jun 15
28
[PATCH 00/11] qspinlock with paravirt support
Since Waiman seems incapable of doing simple things; here's my take on the paravirt crap. The first few patches are taken from Waiman's latest series, but the virt support is completely new. Its primary aim is to not mess up the native code. I've not stress tested it, but the virt and paravirt (kvm) cases boot on simple smp guests. I've not done Xen, but the patch should be
2014 Jun 15
28
[PATCH 00/11] qspinlock with paravirt support
Since Waiman seems incapable of doing simple things; here's my take on the paravirt crap. The first few patches are taken from Waiman's latest series, but the virt support is completely new. Its primary aim is to not mess up the native code. I've not stress tested it, but the virt and paravirt (kvm) cases boot on simple smp guests. I've not done Xen, but the patch should be