Skip to content

signal: avoid unconditional siginfo copy in send_signal_locked()

Oleg Nesterov lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] signal-avoid-unconditional-siginfo-copy-in-send_signal_locked.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied 1/1

Patches in v1 All 1 applied

#Subject and filesSizeRepliesApplied
1/1signal: avoid unconditional siginfo copy in send_signal_locked()kernel/signal.c+15 -82 repliesApplied

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchBradley MorganChristian Brauner (Amutable)
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -mm 0/1] signal: avoid unconditional siginfo copy in send_signal_locked()

On top of

signal-avoid-shared-siginfo-namespace-rewrites.patch

in -mm tree.

To clarify, this (simple) change looks like a cleanup to me even if it slightly complicates send_signal_locked(). But cleanups are always subjective, so I won't argue if anyone thinks otherwise.

To remind, I think we should shift this namespace translation into __send_signal_locked() -> copy_siginfo() path, but this needs something like [PATCH v2 2/3] signal: turn the "bool force" arg of __send_signal_locked() into "int flags"
https://lore.kernel.org/all/[email protected]/

Oleg.