From owner-freebsd-questions@freebsd.org Mon Jul 27 11:39:55 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97DA037EAF1 for ; Mon, 27 Jul 2020 11:39:55 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BFdBy4z6rz4rc4 for ; Mon, 27 Jul 2020 11:39:54 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd2b.google.com with SMTP id l17so16569686iok.7 for ; Mon, 27 Jul 2020 04:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Lc02t0wUMlTnnsvBALBT02/9sPhhRr63PkL6GdFdU6c=; b=TLBq0G8zrNtjBic/7SD1+TQ3zModiwv0yTwqE9O63G8SZOivCtuDAezgzGVGZLbTC3 Ev/47gosWrDvTyn00f6jackqUbWXLCKL6qpzDdEYHo5W8FIJPt/gK+GhlFqEg/6rW13y Gj4iBWwKwU4hDyA81EsogFXG5Wor52zfbp0bqMAZR7Ea9enii4PAys+ji81bjh7s1z/q wfYLwAczQIIy6yefA0a+QZXNtzyUvZDmEcpK7mDagg5MM0UNog4CBbn46Y5/wmEpFLN6 6kcV6mcKFEmGj923B3lTCfHA1i6e9rgMkBQp6nBzxE9BjZoNNZ1wLUuyZAmYzyd31lQy iXuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Lc02t0wUMlTnnsvBALBT02/9sPhhRr63PkL6GdFdU6c=; b=nEzFjJrBd1vvzX1GFExigYO1dcaU4bRastd65rSZ1w1earpAa2id0CHqQx2EH7EaJY r3MIEv3G3F8J0zJfw4NSlPa66D7Xg8SnSHUZAeA1ZQcddRab+HHxpFp/Wqkk0Zfj7la5 uTlbUJ09JM7jHbJejxDSQ0OTxwIT9zv6WXQGVuHyBsupXK9FGX+YSRRtsu4wjxvPtQob KEeWK+lj95bXPP9H5iUW5ZyC+TtWo6y4IxgRtgc+mX8SgNFgMMolbqiRsTv0+d4x4utd kqJhoeQc9e29X6X1tNpHVpxUFvthZhpavHA8bi6DzsWfxCXxqPfb7SstoelFcKIFuB70 tO5g== X-Gm-Message-State: AOAM5320Uzv34I7kkWJGTWzLGe73gn1FRcWTSY7R4VbK5dF1nLEdXxNe 551b/NtdpJYC19uSycYQImAREONOx0Qzfv/9LuJH/D2F X-Google-Smtp-Source: ABdhPJzpLniidKIxYW0gvCO/ptxgRC1LXJTq+epm9k5xGF6CWaDOJcpLwElAQ0L4fRAOv3d7CS1tvTzP7/zFSdSOv3g= X-Received: by 2002:a02:b610:: with SMTP id h16mr11787048jam.74.1595849993736; Mon, 27 Jul 2020 04:39:53 -0700 (PDT) MIME-Version: 1.0 References: <20200725152412.GJ92589@admin.sibptus.ru> <20200725162403.GA4721@admin.sibptus.ru> <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> In-Reply-To: <20200727123426.ce15bc7c46df88145ba9c0be@sohara.org> From: Aryeh Friedman Date: Mon, 27 Jul 2020 07:39:42 -0400 Message-ID: Subject: Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux To: "Steve O'Hara-Smith" Cc: RW , RW via freebsd-questions X-Rspamd-Queue-Id: 4BFdBy4z6rz4rc4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TLBq0G8z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d2b as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.22 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.045]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.01)[-1.007]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2b:from]; NEURAL_HAM_SHORT(-0.17)[-0.166]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2020 11:39:55 -0000 On Mon, Jul 27, 2020 at 7:34 AM Steve O'Hara-Smith wrote: > On Mon, 27 Jul 2020 12:25:02 +0100 > RW via freebsd-questions 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.