Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390533
| From | Waiman Long <waiman.long@hpe.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH resend] powerpc: enable qspinlock and its virtualization support |
| Date | 2016-04-28 23:10 +0200 |
| Message-ID | <rt1ma-2o0-9@gated-at.bofh.it> (permalink) |
| References | <rsT5i-2UV-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 04/28/2016 06:55 AM, Pan Xinhui wrote: > From: Pan Xinhui<xinhui.pan@linux.vnet.ibm.com> > > This patch aims to enable qspinlock on PPC. And on pseries platform, it also support > paravirt qspinlock. > > Signed-off-by: Pan Xinhui<xinhui.pan@linux.vnet.ibm.com> > --- > arch/powerpc/include/asm/qspinlock.h | 37 +++++++++++++++ > arch/powerpc/include/asm/qspinlock_paravirt.h | 36 +++++++++++++++ > .../powerpc/include/asm/qspinlock_paravirt_types.h | 13 ++++++ > arch/powerpc/include/asm/spinlock.h | 31 ++++++++----- > arch/powerpc/include/asm/spinlock_types.h | 4 ++ > arch/powerpc/kernel/paravirt.c | 52 ++++++++++++++++++++++ > arch/powerpc/lib/locks.c | 32 +++++++++++++ > arch/powerpc/platforms/pseries/setup.c | 5 +++ > 8 files changed, 198 insertions(+), 12 deletions(-) > create mode 100644 arch/powerpc/include/asm/qspinlock.h > create mode 100644 arch/powerpc/include/asm/qspinlock_paravirt.h > create mode 100644 arch/powerpc/include/asm/qspinlock_paravirt_types.h > create mode 100644 arch/powerpc/kernel/paravirt.c > > This is just an enablement patch. You will also need a patch to activate qspinlock for, at lease, some PPC configs. Right? It has dependency on the pv_wait() patch that I sent out extend the parameter list. Some performance data on how PPC system will perform with and without qspinlock will also be helpful data points. Cheers, Longman
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH resend] powerpc: enable qspinlock and its virtualization support Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-28 14:20 +0200
Re: [PATCH resend] powerpc: enable qspinlock and its virtualization support Waiman Long <waiman.long@hpe.com> - 2016-04-28 23:10 +0200
Re: [PATCH resend] powerpc: enable qspinlock and its virtualization support Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-04-29 04:40 +0200
csiph-web