powerpc/signal: Convert to scoped user access
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyIn review
- v18 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Add a stub setup_tm_sigcontexts() for when CONFIG_PPC_TRANSACTIONAL_MEM is not set in patch 2
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | powerpc/signal32: Convert to scoped user accessarch/ | +217 | 0 replies | |
| 2/8 | powerpc/signal64: Untangle setup_tm_sigcontexts() and user_access_begin()arch/ | +15 | 0 replies | |
| 3/8 | powerpc/signal64: Convert to scoped user accessarch/ | +32 | 0 replies | |
| 4/8 | powerpc/signal64: Access function descriptor with scoped user accessarch/ | +9 | 0 replies | |
| 5/8 | powerpc/signal: Include the new stack frame inside the user access blockarch/ arch/ | +18 | 0 replies | |
| 6/8 | signal: Add unsafe_copy_siginfo_to_user()include/ include/ kernel/ | +16 | 0 replies | |
| 7/8 | powerpc/uaccess: Add unsafe_clear_user()arch/ | +20 | 0 replies | |
| 8/8 | powerpc/signal: Use unsafe_copy_siginfo_to_user()arch/ arch/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/8] powerpc/signal: Convert to scoped user access
This series converts powerpc architecture signal handling to scoped user access and enlarges some of the block accesses to minimise the number of times user access has to be opened and closed.
As mentioned in individual patches, some bring real performance improvement.
This series is built from previous series [1] which predates implementation of scoped user access.
Changes in v2:
- Add a stub setup_tm_sigcontexts() for when CONFIG_PPC_TRANSACTIONAL_MEM is not set in patch 2
Christophe Leroy (CS GROUP) (8):
powerpc/signal32: Convert to scoped user access powerpc/signal64: Untangle setup_tm_sigcontexts() and
user_access_begin()
powerpc/signal64: Convert to scoped user access powerpc/signal64: Access function descriptor with scoped user access powerpc/signal: Include the new stack frame inside the user access
block
signal: Add unsafe_copy_siginfo_to_user() powerpc/uaccess: Add unsafe_clear_user()
powerpc/signal: Use unsafe_copy_siginfo_to_user()
arch/powerpc/include/asm/uaccess.h | 20 ++ arch/powerpc/kernel/signal_32.c | 498 ++++++++++++++--------------- arch/powerpc/kernel/signal_64.c | 138 ++++---- include/linux/signal.h | 15 + include/linux/uaccess.h | 1 + kernel/signal.c | 5 - 6 files changed, 334 insertions(+), 343 deletions(-)
Signature · 1 line
2.54.0