Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1451682
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 3/4] Restartable sequences: Wire up powerpc system call |
| Date | 2016-07-28 05:20 +0200 |
| Message-ID | <rZK1z-kW-7@gated-at.bofh.it> (permalink) |
| References | <rZyD7-12s-15@gated-at.bofh.it> <rZyD7-12s-17@gated-at.bofh.it> <rZyD8-12s-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
----- On Jul 27, 2016, at 11:05 AM, Boqun Feng boqun.feng@gmail.com wrote: > Wire up the rseq system call on powerpc. > > This provides an ABI improving the speed of a user-space getcpu > operation on powerpc by skipping the getcpu system call on the fast > path, as well as improving the speed of user-space operations on per-cpu > data compared to using load-reservation/store-conditional atomics. Picked up in my dev branch too, thanks! Mathieu > > Signed-off-by: Boqun Feng <boqun.feng@gmail.com> > --- > arch/powerpc/include/asm/systbl.h | 1 + > arch/powerpc/include/asm/unistd.h | 2 +- > arch/powerpc/include/uapi/asm/unistd.h | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/powerpc/include/asm/systbl.h > b/arch/powerpc/include/asm/systbl.h > index 2fc5d4db503c..c68f4d0d00b2 100644 > --- a/arch/powerpc/include/asm/systbl.h > +++ b/arch/powerpc/include/asm/systbl.h > @@ -386,3 +386,4 @@ SYSCALL(mlock2) > SYSCALL(copy_file_range) > COMPAT_SYS_SPU(preadv2) > COMPAT_SYS_SPU(pwritev2) > +SYSCALL(rseq) > diff --git a/arch/powerpc/include/asm/unistd.h > b/arch/powerpc/include/asm/unistd.h > index cf12c580f6b2..a01e97d3f305 100644 > --- a/arch/powerpc/include/asm/unistd.h > +++ b/arch/powerpc/include/asm/unistd.h > @@ -12,7 +12,7 @@ > #include <uapi/asm/unistd.h> > > > -#define NR_syscalls 382 > +#define NR_syscalls 383 > > #define __NR__exit __NR_exit > > diff --git a/arch/powerpc/include/uapi/asm/unistd.h > b/arch/powerpc/include/uapi/asm/unistd.h > index e9f5f41aa55a..d1849d64c8ef 100644 > --- a/arch/powerpc/include/uapi/asm/unistd.h > +++ b/arch/powerpc/include/uapi/asm/unistd.h > @@ -392,5 +392,6 @@ > #define __NR_copy_file_range 379 > #define __NR_preadv2 380 > #define __NR_pwritev2 381 > +#define __NR_rseq 382 > > #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ > -- > 2.9.0 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC PATCH v7 1/7] Restartable sequences system call Boqun Feng <boqun.feng@gmail.com> - 2016-07-27 17:10 +0200
[RFC 4/4] Restartable sequences: Add self-tests for PPC Boqun Feng <boqun.feng@gmail.com> - 2016-07-27 17:10 +0200
Re: [RFC 4/4] Restartable sequences: Add self-tests for PPC Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-07-28 05:10 +0200
Re: [RFC 4/4] Restartable sequences: Add self-tests for PPC Boqun Feng <boqun.feng@gmail.com> - 2016-07-28 06:50 +0200
[RFC v2] Restartable sequences: Add self-tests for PPC Boqun Feng <boqun.feng@gmail.com> - 2016-07-28 09:40 +0200
Re: [RFC v2] Restartable sequences: Add self-tests for PPC Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-07-28 16:10 +0200
Re: [RFC 4/4] Restartable sequences: Add self-tests for PPC Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-07-28 15:50 +0200
[RFC 1/4] rseq/param_test: Convert test_data_entry::count to intptr_t Boqun Feng <boqun.feng@gmail.com> - 2016-07-27 17:10 +0200
[RFC 3/4] Restartable sequences: Wire up powerpc system call Boqun Feng <boqun.feng@gmail.com> - 2016-07-27 17:10 +0200
Re: [RFC 3/4] Restartable sequences: Wire up powerpc system call Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-07-28 05:20 +0200
Re: [RFC 1/4] rseq/param_test: Convert test_data_entry::count to intptr_t Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-07-28 05:10 +0200
Re: [RFC PATCH v7 1/7] Restartable sequences system call Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2016-07-28 05:20 +0200
csiph-web