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

Oleg Nesterov posted 1 patch 4 hours ago
[PATCH -mm 0/1] signal: avoid unconditional siginfo copy in send_signal_locked()
Posted by Oleg Nesterov 4 hours ago
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/ajVDzniRXROuyRgD@redhat.com/

Oleg.