Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2020 12:56:30 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        RW <rwmaillists@googlemail.com>, RW via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux
Message-ID:  <20200727125630.bf2d45e20f88337b0c1601c2@sohara.org>
In-Reply-To: <CAGBxaXnpu8TzTExDxFarp30WDPdedfzu_wh3z5NtAEXDK%2BUmMw@mail.gmail.com>
References:  <CAEJNuHxC7i%2Bq7cq65=my6mJZDdiK4gpQsKjMU1nvsm=Ri4On%2Bg@mail.gmail.com> <CAGBxaX=Ktr-pqtT8FU37ajkYonVLYT_WhSenn23Tj5b=i0d-8g@mail.gmail.com> <20200725162403.GA4721@admin.sibptus.ru> <CAGBxaXmBZcCWqAZFR9OSyRGrqGFU%2BqCAZ8CfOi=0oXAmf-2=tA@mail.gmail.com> <20200725182554.deffc63058a7c9f6d343ef06@sohara.org> <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu> <20200726063256.GA22924@admin.sibptus.ru> <20200726093909.ee5e14e643d31da4dad5c804@sohara.org> <20200726151835.GA35966@admin.sibptus.ru> <27ca8c6c-6b06-6ad4-7af0-2b88f51a3856@kicp.uchicago.edu> <20200726165212.a0ac28ce104b9dfd009cc4c5@sohara.org> <7290c25a-aaf3-b864-0ed8-ec9558777681@kicp.uchicago.edu> <20200726213915.00772928e53bd4105872ee71@sohara.org> <20200727020921.92e951f7.freebsd@edvax.de> <20200727122502.2912b5ca@gumby.homeunix.com> <20200727123426.ce15bc7c46df88145ba9c0be@sohara.org> <CAGBxaXnpu8TzTExDxFarp30WDPdedfzu_wh3z5NtAEXDK%2BUmMw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jul 2020 07:39:42 -0400
Aryeh Friedman <aryeh.friedman@gmail.com> wrote:

> On Mon, Jul 27, 2020 at 7:34 AM Steve O'Hara-Smith <steve@sohara.org>
> wrote:
> 
> > On Mon, 27 Jul 2020 12:25:02 +0100
> > RW via freebsd-questions <freebsd-questions@freebsd.org> wrote:
> >
> > > On Mon, 27 Jul 2020 02:09:21 +0200
> > > Polytropon wrote:
> > >
> > > > On Sun, 26 Jul 2020 21:39:15 +0100, Steve O'Hara-Smith wrote:
> > >
> > > > >   The trouble is there really isn't anything else the OS can
> > > > > do because nobody ever thought to implement
> > > > > SIG_RELEASE_SOME_MEMORY_PLEASE which would probably be the ideal
> > > > > solution provided at least *some* programs responded to it.
> > > >
> > > > As you mentioned, it depends on the problem programs ("apps") to
> > > > actually receive and act upon such a signal.
> > >
> > > It's not implemented as a signal, but I gather that OS X has a message
> > > of that type. There is an incentive to support it as makes the process
> > > less likely to be killed.
> >
> >         Somehow I just knew it wasn't a new idea.
> >
> 
> The problem of course if every program played nice there would be no need
> for OS's.

	It doesn't need every program to play nice - putting hooks in
common libraries would go a long way. In the end though you're right there
is nothing the OS can do about a process that keeps on grabbing more memory
except kill it when it hits a limit.

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200727125630.bf2d45e20f88337b0c1601c2>