First  |  Prev |  Next  |  Last
Pages: 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
[PATCH RFC 06/12] x86/ticketlock: make __ticket_spin_trylock common
Make trylock code common regardless of ticket size. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)citrix.com> --- arch/x86/include/asm/spinlock.h | 55 +++++++++----------------------- arch/x86/include/asm/spinlock_types.h | 3 ++ 2 files changed, 19 insertions(+), 39 deletions(-) diff -... 16 Jul 2010 22:02
[tip:x86/urgent] x86, pci, mrst: Add extra sanity check in walking the PCI extended cap chain
Commit-ID: f82c3d71d6fd2e6a3e3416f09099e29087e39abf Gitweb: http://git.kernel.org/tip/f82c3d71d6fd2e6a3e3416f09099e29087e39abf Author: Jacob Pan <jacob.jun.pan(a)linux.intel.com> AuthorDate: Fri, 16 Jul 2010 11:58:26 -0700 Committer: H. Peter Anvin <hpa(a)linux.intel.com> CommitDate: Fri, 16 Jul 2010 16:52:1... 16 Jul 2010 22:02
[PATCH RFC 05/12] x86/ticketlock: make __ticket_spin_lock common
Aside from the particular form of the xadd instruction, they're identical. So factor out the xadd and use common code for the rest. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)citrix.com> --- arch/x86/include/asm/spinlock.h | 42 ++++++++++++++++++-------------------- 1 files changed, 20 insertion... 16 Jul 2010 22:02
[PATCH RFC 07/12] x86/spinlocks: replace pv spinlocks with pv ticketlocks
Rather than outright replacing the entire spinlock implementation in order to paravirtualize it, keep the ticket lock implementation but add a couple of pvops hooks on the slow patch (long spin on lock, unlocking a contended lock). Ticket locks have a number of nice properties, but they also have some surprising... 16 Jul 2010 22:02
[PATCH RFC 00/12] X86 ticket lock cleanups and improvements
Hi all, This series does three things: - A general cleanup of the ticketlock implementation, including moving most of it into C, removing a pile of inline asm and ifdefs. - Convert the PV spinlock mechanism (enabled with CONFIG_PARAVIRT_SPINLOCKS) to a PV ticketlock mechanism. The old way comp... 16 Jul 2010 22:02
[PATCH RFC 08/12] x86/ticketlock: collapse a layer of functions
Now that the paravirtualization layer doesn't exist at the spinlock level any more, we can collapse the __ticket_ functions into the arch_ functions. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)citrix.com> --- arch/x86/include/asm/spinlock.h | 35 +++++------------------------------ 1 files chang... 16 Jul 2010 22:02
[PATCH RFC 03/12] x86/ticketlock: Use C for __ticket_spin_unlock
If we don't need to use a locked inc for unlock, then implement it in C. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)citrix.com> --- arch/x86/include/asm/spinlock.h | 33 ++++++++++++++++++--------------- 1 files changed, 18 insertions(+), 15 deletions(-) diff --git a/arch/x86/include/asm/spinlo... 16 Jul 2010 22:02
[PATCH RFC 12/12] x86/pvticketlock: use callee-save for unlock_kick as well
The unlock code is typically inlined throughout the kernel, so its useful to make sure there's minimal register pressure overhead from the presence of the unlock_tick pvop call. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)citrix.com> --- arch/x86/include/asm/paravirt.h | 2 +- arch/x86/inc... 16 Jul 2010 22:02
[PATCH RFC 04/12] x86/ticketlock: make large and small ticket versions of spin_lock the same
Make the bulk of __ticket_spin_lock look identical for large and small number of cpus. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)citrix.com> --- arch/x86/include/asm/spinlock.h | 23 ++++++++--------------- 1 files changed, 8 insertions(+), 15 deletions(-) diff --git a/arch/x86/include/asm/sp... 16 Jul 2010 22:02
[PATCH RFC 01/12] x86/ticketlock: clean up types and accessors
A few cleanups to the way spinlocks are defined and accessed: - define __ticket_t which is the size of a spinlock ticket (ie, enough bits to hold all the cpus) - Define struct arch_spinlock as a union containing plain slock and the head and tail tickets - Use head and tail to implement some of the spinloc... 16 Jul 2010 22:02
First  |  Prev |  Next  |  Last
Pages: 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553