linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] sparc64: Use low latency path to resume idle cpu
@ 2017-07-08 20:23 Vijay Kumar
  2017-07-08 20:23 ` [PATCH 1/2] sparc64: Add a new hypercall CPU_POKE Vijay Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Vijay Kumar @ 2017-07-08 20:23 UTC (permalink / raw)
  To: davem, sparclinux; +Cc: rob.gardner, anthony.yznaga, linux-kernel

cpu_poke is a low latency path to resume the target cpu if suspended
using cpu_yield. Use cpu poke to resume cpu if supported by hypervisor.

	     hackbench results (lower is better):
Number of		
Process:		w/o fix		with fix
1  			0.012		 0.010
10			0.021		 0.019
100			0.151		 0.148

Vijay Kumar (2):
  sparc64: Add a new hypercall CPU_POKE
  sparc64: Use cpu_poke to resume idle cpu

 arch/sparc/include/asm/hypervisor.h |   17 ++++++++
 arch/sparc/include/asm/smp_64.h     |    5 ++
 arch/sparc/kernel/hvapi.c           |    9 ++++
 arch/sparc/kernel/hvcalls.S         |   11 +++++
 arch/sparc/kernel/process_64.c      |    7 +++-
 arch/sparc/kernel/setup_64.c        |    1 +
 arch/sparc/kernel/smp_64.c          |   75 +++++++++++++++++++++++++++++++++-
 7 files changed, 121 insertions(+), 4 deletions(-)
--

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-07-21  4:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-08 20:23 [PATCH 0/2] sparc64: Use low latency path to resume idle cpu Vijay Kumar
2017-07-08 20:23 ` [PATCH 1/2] sparc64: Add a new hypercall CPU_POKE Vijay Kumar
2017-07-08 20:23 ` [PATCH 2/2] sparc64: Use cpu_poke to resume idle cpu Vijay Kumar
2017-07-20 19:58   ` David Miller
2017-07-21  2:47     ` Vijay Kumar
2017-07-20 19:57 ` [PATCH 0/2] sparc64: Use low latency path " David Miller
2017-07-21  2:44   ` Vijay Kumar
2017-07-21  2:55     ` David Miller
2017-07-21  3:36       ` Vijay Kumar
2017-07-21  3:45         ` David Miller
2017-07-21  4:11           ` Vijay Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).