lkml.org 
[lkml]   [2023]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RESEND RFC] SIGOOM Proposal
From
> It's actually worse than this.  The problem is space in the signal
> mask.
Yeah, i've realized it right after sending my letter first time.

I am going to use Willy's approach to use prctl() to enable process to
choose a signal for OOM event.

> AIX had a similar SIGDANGER signal which was sent to all processes
> when memory was low. By default, it was ignored, but processes that
> were aware of it could use this as an opportunity to shrink their
> memory footprint.
Now should we go the same way and send SIGOOM to all receiving processes
or keep it targeted? Make it configurable?

Thanks.

\
 
 \ /
  Last update: 2023-03-26 23:38    [W:1.480 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site