search for: spinlock_typ

Displaying 20 results from an estimated 145 matches for "spinlock_typ".

Did you mean: spinlock_t
2016 Jun 03
2
[PATCH v5 1/6] qspinlock: powerpc support qspinlock
...e unlock path. > Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> > --- > ?arch/powerpc/include/asm/qspinlock.h??????| 26 > ++++++++++++++++++++++++++ > ?arch/powerpc/include/asm/spinlock.h???????| 27 +++++++++++++++---- > -------- > ?arch/powerpc/include/asm/spinlock_types.h |??4 ++++ > ?arch/powerpc/lib/locks.c??????????????????|??4 ++++ > ?4 files changed, 49 insertions(+), 12 deletions(-) > ?create mode 100644 arch/powerpc/include/asm/qspinlock.h > > diff --git a/arch/powerpc/include/asm/qspinlock.h > b/arch/powerpc/include/asm/qspinlock.h &gt...
2016 Jun 03
2
[PATCH v5 1/6] qspinlock: powerpc support qspinlock
...e unlock path. > Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> > --- > ?arch/powerpc/include/asm/qspinlock.h??????| 26 > ++++++++++++++++++++++++++ > ?arch/powerpc/include/asm/spinlock.h???????| 27 +++++++++++++++---- > -------- > ?arch/powerpc/include/asm/spinlock_types.h |??4 ++++ > ?arch/powerpc/lib/locks.c??????????????????|??4 ++++ > ?4 files changed, 49 insertions(+), 12 deletions(-) > ?create mode 100644 arch/powerpc/include/asm/qspinlock.h > > diff --git a/arch/powerpc/include/asm/qspinlock.h > b/arch/powerpc/include/asm/qspinlock.h &gt...
2015 Apr 30
0
[PATCH 1/6] x86: use macro instead of "0" for setting TICKET_SLOWPATH_FLAG
...flag in __ticket_enter_slowpath() is done via setting bit "0" in lock->tickets.head instead of using a macro. Change this by defining an appropriate macro. Signed-off-by: Juergen Gross <jgross at suse.com> --- arch/x86/include/asm/spinlock.h | 3 ++- arch/x86/include/asm/spinlock_types.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h index cf87de3..8ceec8d 100644 --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h @@ -46,7 +46,8 @@ static __always_inline bool stati...
2014 Feb 26
0
[PATCH v5 2/8] qspinlock, x86: Enable x86-64 to use queue spinlock
...y: Waiman Long <Waiman.Long at hp.com> Acked-by: Rik van Riel <riel at redhat.com> --- arch/x86/Kconfig | 1 + arch/x86/include/asm/qspinlock.h | 41 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/spinlock.h | 5 ++++ arch/x86/include/asm/spinlock_types.h | 4 +++ 4 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 arch/x86/include/asm/qspinlock.h diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1b4ff87..5bf70ab 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -17,6 +17,7 @@ config X86_64 depends on 64BIT s...
2014 Feb 27
0
[PATCH v5 2/8] qspinlock, x86: Enable x86-64 to use queue spinlock
...y: Waiman Long <Waiman.Long at hp.com> Acked-by: Rik van Riel <riel at redhat.com> --- arch/x86/Kconfig | 1 + arch/x86/include/asm/qspinlock.h | 41 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/spinlock.h | 5 ++++ arch/x86/include/asm/spinlock_types.h | 4 +++ 4 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 arch/x86/include/asm/qspinlock.h diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1b4ff87..5bf70ab 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -17,6 +17,7 @@ config X86_64 depends on 64BIT s...
2014 Mar 19
0
[PATCH v7 02/11] qspinlock, x86: Enable x86-64 to use queue spinlock
...y: Waiman Long <Waiman.Long at hp.com> Acked-by: Rik van Riel <riel at redhat.com> --- arch/x86/Kconfig | 1 + arch/x86/include/asm/qspinlock.h | 41 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/spinlock.h | 5 ++++ arch/x86/include/asm/spinlock_types.h | 4 +++ 4 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 arch/x86/include/asm/qspinlock.h diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0af5250..de573f9 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -17,6 +17,7 @@ config X86_64 depends on 64BIT s...
2016 Jun 02
0
[PATCH v5 1/6] qspinlock: powerpc support qspinlock
...y build a qspinlock kernel after apply this patch. Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> --- arch/powerpc/include/asm/qspinlock.h | 26 ++++++++++++++++++++++++++ arch/powerpc/include/asm/spinlock.h | 27 +++++++++++++++------------ arch/powerpc/include/asm/spinlock_types.h | 4 ++++ arch/powerpc/lib/locks.c | 4 ++++ 4 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 arch/powerpc/include/asm/qspinlock.h diff --git a/arch/powerpc/include/asm/qspinlock.h b/arch/powerpc/include/asm/qspinlock.h new file mode 100644 index 000000...
2016 Jun 02
0
[PATCH v5 1/6] qspinlock: powerpc support qspinlock
...y build a qspinlock kernel after apply this patch. Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> --- arch/powerpc/include/asm/qspinlock.h | 26 ++++++++++++++++++++++++++ arch/powerpc/include/asm/spinlock.h | 27 +++++++++++++++------------ arch/powerpc/include/asm/spinlock_types.h | 4 ++++ arch/powerpc/lib/locks.c | 4 ++++ 4 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 arch/powerpc/include/asm/qspinlock.h diff --git a/arch/powerpc/include/asm/qspinlock.h b/arch/powerpc/include/asm/qspinlock.h new file mode 100644 index 000000...
2014 May 28
7
[RFC] Implement Batched (group) ticket lock
...r is better base 50452 patched 50703 kernbench time in sec (lesser is better) base 48.9 sec patched 48.8 sec Signed-off-by: Raghavendra K T <raghavendra.kt at linux.vnet.ibm.com> --- arch/x86/include/asm/spinlock.h | 35 +++++++++++++++++++++++++---------- arch/x86/include/asm/spinlock_types.h | 14 ++++++++++---- arch/x86/kernel/kvm.c | 6 ++++-- 3 files changed, 39 insertions(+), 16 deletions(-) TODO: - we need an intelligent way to nullify the effect of batching for baremetal (because extra cmpxchg is not required). - we may have to make batch size as kernel ar...
2014 May 28
7
[RFC] Implement Batched (group) ticket lock
...r is better base 50452 patched 50703 kernbench time in sec (lesser is better) base 48.9 sec patched 48.8 sec Signed-off-by: Raghavendra K T <raghavendra.kt at linux.vnet.ibm.com> --- arch/x86/include/asm/spinlock.h | 35 +++++++++++++++++++++++++---------- arch/x86/include/asm/spinlock_types.h | 14 ++++++++++---- arch/x86/kernel/kvm.c | 6 ++++-- 3 files changed, 39 insertions(+), 16 deletions(-) TODO: - we need an intelligent way to nullify the effect of batching for baremetal (because extra cmpxchg is not required). - we may have to make batch size as kernel ar...
2016 Dec 06
1
[PATCH v8 1/6] powerpc/qspinlock: powerpc support qspinlock
...ock_wait() some more") > > Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> > --- > arch/powerpc/include/asm/qspinlock.h | 66 +++++++++++++++++++++++++++++++ > arch/powerpc/include/asm/spinlock.h | 31 +++++++++------ > arch/powerpc/include/asm/spinlock_types.h | 4 ++ > arch/powerpc/lib/locks.c | 59 +++++++++++++++++++++++++++ > 4 files changed, 147 insertions(+), 13 deletions(-) > create mode 100644 arch/powerpc/include/asm/qspinlock.h > > diff --git a/arch/powerpc/include/asm/qspinlock.h b/arch/powerpc/include/as...
2016 Dec 06
1
[PATCH v8 1/6] powerpc/qspinlock: powerpc support qspinlock
...ock_wait() some more") > > Signed-off-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> > --- > arch/powerpc/include/asm/qspinlock.h | 66 +++++++++++++++++++++++++++++++ > arch/powerpc/include/asm/spinlock.h | 31 +++++++++------ > arch/powerpc/include/asm/spinlock_types.h | 4 ++ > arch/powerpc/lib/locks.c | 59 +++++++++++++++++++++++++++ > 4 files changed, 147 insertions(+), 13 deletions(-) > create mode 100644 arch/powerpc/include/asm/qspinlock.h > > diff --git a/arch/powerpc/include/asm/qspinlock.h b/arch/powerpc/include/as...
2010 Nov 03
25
[PATCH 00/20] x86: ticket lock rewrite and paravirtualization
...b() x86/ticketlock: rename ticketpair to head_tail arch/x86/Kconfig | 3 + arch/x86/include/asm/paravirt.h | 30 +--- arch/x86/include/asm/paravirt_types.h | 8 +- arch/x86/include/asm/spinlock.h | 250 +++++++++++++++-------------- arch/x86/include/asm/spinlock_types.h | 41 +++++- arch/x86/kernel/paravirt-spinlocks.c | 15 +-- arch/x86/xen/spinlock.c | 282 +++++---------------------------- kernel/Kconfig.locks | 2 +- 8 files changed, 221 insertions(+), 410 deletions(-) -- 1.7.2.3
2010 Nov 03
25
[PATCH 00/20] x86: ticket lock rewrite and paravirtualization
...b() x86/ticketlock: rename ticketpair to head_tail arch/x86/Kconfig | 3 + arch/x86/include/asm/paravirt.h | 30 +--- arch/x86/include/asm/paravirt_types.h | 8 +- arch/x86/include/asm/spinlock.h | 250 +++++++++++++++-------------- arch/x86/include/asm/spinlock_types.h | 41 +++++- arch/x86/kernel/paravirt-spinlocks.c | 15 +-- arch/x86/xen/spinlock.c | 282 +++++---------------------------- kernel/Kconfig.locks | 2 +- 8 files changed, 221 insertions(+), 410 deletions(-) -- 1.7.2.3
2010 Nov 03
25
[PATCH 00/20] x86: ticket lock rewrite and paravirtualization
...b() x86/ticketlock: rename ticketpair to head_tail arch/x86/Kconfig | 3 + arch/x86/include/asm/paravirt.h | 30 +--- arch/x86/include/asm/paravirt_types.h | 8 +- arch/x86/include/asm/spinlock.h | 250 +++++++++++++++-------------- arch/x86/include/asm/spinlock_types.h | 41 +++++- arch/x86/kernel/paravirt-spinlocks.c | 15 +-- arch/x86/xen/spinlock.c | 282 +++++---------------------------- kernel/Kconfig.locks | 2 +- 8 files changed, 221 insertions(+), 410 deletions(-) -- 1.7.2.3
2016 Jun 03
0
[PATCH v5 1/6] qspinlock: powerpc support qspinlock
...f-by: Pan Xinhui <xinhui.pan at linux.vnet.ibm.com> > > --- > > ?arch/powerpc/include/asm/qspinlock.h??????| 26 > > ++++++++++++++++++++++++++ > > ?arch/powerpc/include/asm/spinlock.h???????| 27 +++++++++++++++---- > > -------- > > ?arch/powerpc/include/asm/spinlock_types.h |??4 ++++ > > ?arch/powerpc/lib/locks.c??????????????????|??4 ++++ > > ?4 files changed, 49 insertions(+), 12 deletions(-) > > ?create mode 100644 arch/powerpc/include/asm/qspinlock.h > > > > diff --git a/arch/powerpc/include/asm/qspinlock.h > > b/arch/power...
2020 Jul 02
0
[PATCH 5/8] powerpc/64s: implement queued spinlocks and rwlocks
...ggin <npiggin at gmail.com> --- arch/powerpc/Kconfig | 13 +++++++++++++ arch/powerpc/include/asm/Kbuild | 2 ++ arch/powerpc/include/asm/qspinlock.h | 20 ++++++++++++++++++++ arch/powerpc/include/asm/spinlock.h | 5 +++++ arch/powerpc/include/asm/spinlock_types.h | 5 +++++ arch/powerpc/lib/Makefile | 3 +++ include/asm-generic/qspinlock.h | 2 ++ 7 files changed, 50 insertions(+) create mode 100644 arch/powerpc/include/asm/qspinlock.h diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 9fa23eb320ff..b1757510987...
2020 Jul 06
0
[PATCH v3 4/6] powerpc/64s: implement queued spinlocks and rwlocks
...in <npiggin at gmail.com> --- arch/powerpc/Kconfig | 13 ++++++++++++ arch/powerpc/include/asm/Kbuild | 2 ++ arch/powerpc/include/asm/qspinlock.h | 25 +++++++++++++++++++++++ arch/powerpc/include/asm/spinlock.h | 5 +++++ arch/powerpc/include/asm/spinlock_types.h | 5 +++++ arch/powerpc/lib/Makefile | 3 +++ include/asm-generic/qspinlock.h | 2 ++ 7 files changed, 55 insertions(+) create mode 100644 arch/powerpc/include/asm/qspinlock.h diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 24ac85c868db..17663ea5769...
2014 Mar 19
1
[PATCH v7 02/11] qspinlock, x86: Enable x86-64 to use queue spinlock
...at hp.com> > Acked-by: Rik van Riel <riel at redhat.com> > --- > arch/x86/Kconfig | 1 + > arch/x86/include/asm/qspinlock.h | 41 +++++++++++++++++++++++++++++++++ > arch/x86/include/asm/spinlock.h | 5 ++++ > arch/x86/include/asm/spinlock_types.h | 4 +++ > 4 files changed, 51 insertions(+), 0 deletions(-) > create mode 100644 arch/x86/include/asm/qspinlock.h > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 0af5250..de573f9 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -17,6 +17,7...
2014 Mar 19
1
[PATCH v7 02/11] qspinlock, x86: Enable x86-64 to use queue spinlock
...at hp.com> > Acked-by: Rik van Riel <riel at redhat.com> > --- > arch/x86/Kconfig | 1 + > arch/x86/include/asm/qspinlock.h | 41 +++++++++++++++++++++++++++++++++ > arch/x86/include/asm/spinlock.h | 5 ++++ > arch/x86/include/asm/spinlock_types.h | 4 +++ > 4 files changed, 51 insertions(+), 0 deletions(-) > create mode 100644 arch/x86/include/asm/qspinlock.h > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 0af5250..de573f9 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -17,6 +17,7...