Re: [PATCH] Optimize ProcSignal to avoid redundant SIGUSR1 signals

2025-07-22 Thread Joel Jacobson
On Tue, Jul 22, 2025, at 23:54, Thomas Munro wrote: > On Wed, Jul 23, 2025 at 8:08 AM Joel Jacobson wrote: >> Previously, ProcSignal used an array of volatile sig_atomic_t flags, one >> per signal reason. A sender would set a flag and then unconditionally >> send a SIGUSR1 to the target process. T

Re: [PATCH] Optimize ProcSignal to avoid redundant SIGUSR1 signals

2025-07-22 Thread Thomas Munro
On Wed, Jul 23, 2025 at 8:08 AM Joel Jacobson wrote: > Previously, ProcSignal used an array of volatile sig_atomic_t flags, one > per signal reason. A sender would set a flag and then unconditionally > send a SIGUSR1 to the target process. This could result in a storm of > redundant signals if mul