public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] powerpc: Add support for system call vectored
@ 2020-11-18 14:46 Matheus Castanho
  2020-11-18 14:47 ` [PATCH 1/4] powerpc: Replace brk.S with a C implementation Matheus Castanho
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Matheus Castanho @ 2020-11-18 14:46 UTC (permalink / raw)
  To: libc-alpha; +Cc: tuliom

This patchset enables the usage of system call vectored (scv) instruction by
system calls for improved performance on POWER9 and later processors.

Please check each patch for more details, specially 3/4 which explains the
rationale and details of the runtime mechanism to choose between the old
behavior (sc) and the new one (scv 0).

Tested on powerpc, powerpc64, and powerpc64le (with and without scv)

Matheus Castanho (3):
  powerpc: Make PT_THREAD_POINTER available to assembly code
  powerpc: Runtime selection between sc and scv for syscalls
  powerpc: Use scv instruction on clone when available

Tulio Magno Quites Machado Filho (1):
  powerpc: Replace brk.S with a C implementation

 sysdeps/powerpc/nptl/tls.h                    | 26 +++---
 sysdeps/powerpc/powerpc32/sysdep.h            | 19 ++--
 sysdeps/powerpc/powerpc64/sysdep.h            | 90 ++++++++++++++++++-
 .../linux/powerpc/{powerpc64/brk.S => brk.c}  | 41 ++++-----
 sysdeps/unix/sysv/linux/powerpc/dl-brk.S      |  1 -
 .../unix/sysv/linux/powerpc/powerpc32/brk.S   | 52 -----------
 .../unix/sysv/linux/powerpc/powerpc64/clone.S | 36 +++++++-
 .../unix/sysv/linux/powerpc/powerpc64/vfork.S |  6 +-
 sysdeps/unix/sysv/linux/powerpc/syscall.S     | 11 ++-
 sysdeps/unix/sysv/linux/powerpc/sysdep.h      | 78 +++++++++++-----
 10 files changed, 235 insertions(+), 125 deletions(-)
 rename sysdeps/unix/sysv/linux/powerpc/{powerpc64/brk.S => brk.c} (58%)
 delete mode 100644 sysdeps/unix/sysv/linux/powerpc/dl-brk.S
 delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S

--
2.26.2

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

end of thread, other threads:[~2020-12-03 17:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 14:46 [PATCH 0/4] powerpc: Add support for system call vectored Matheus Castanho
2020-11-18 14:47 ` [PATCH 1/4] powerpc: Replace brk.S with a C implementation Matheus Castanho
2020-11-18 20:00   ` Adhemerval Zanella
2020-11-19 17:37     ` Tulio Magno Quites Machado Filho
2020-11-18 21:28   ` Andreas Schwab
2020-11-18 14:47 ` [PATCH 2/4] powerpc: Make PT_THREAD_POINTER available to assembly code Matheus Castanho
2020-11-19 19:58   ` Tulio Magno Quites Machado Filho
2020-11-24 17:33     ` Matheus Castanho
2020-11-18 14:47 ` [PATCH 3/4] powerpc: Runtime selection between sc and scv for syscalls Matheus Castanho
2020-11-18 15:16   ` Florian Weimer
2020-11-19 20:29     ` Matheus Castanho
2020-11-19 20:35       ` Florian Weimer
2020-11-23 18:00         ` Matheus Castanho
2020-12-01 12:50           ` Matheus Castanho
2020-12-01 13:11           ` Florian Weimer
2020-12-01 13:35             ` Adhemerval Zanella
2020-12-03 17:19               ` Matheus Castanho
2020-11-18 19:00   ` Paul A. Clarke
2020-11-19 20:34     ` Matheus Castanho
2020-11-18 14:47 ` [PATCH 4/4] powerpc: Use scv instruction on clone when available Matheus Castanho

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 read-only IMAP folder(s) and NNTP newsgroup(s).