From owner-freebsd-arch@FreeBSD.ORG Tue Nov 17 23:40:16 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD125106566B; Tue, 17 Nov 2009 23:40:16 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) by mx1.freebsd.org (Postfix) with ESMTP id 562738FC12; Tue, 17 Nov 2009 23:40:16 +0000 (UTC) Received: from [195.4.92.19] (helo=9.mx.freenet.de) by mout0.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NAXeh-0004Ky-0C; Wed, 18 Nov 2009 00:40:15 +0100 Received: from ta697.t.pppool.de ([89.55.166.151]:50870 helo=ernst.jennejohn.org) by 9.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NAXeg-0003jW-Q2; Wed, 18 Nov 2009 00:40:14 +0100 Date: Wed, 18 Nov 2009 00:40:14 +0100 From: Gary Jennejohn To: Rui Paulo Message-ID: <20091118004014.7cf9eb81@ernst.jennejohn.org> In-Reply-To: <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Attilio Rao , gnn@freebsd.org, FreeBSD Arch Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 23:40:16 -0000 On Tue, 17 Nov 2009 21:35:34 +0000 Rui Paulo wrote: > On 17 Nov 2009, at 14:44, gnn@freebsd.org wrote: > > > At Mon, 16 Nov 2009 16:02:08 +0100, > > Attilio Rao wrote: > >> > >> This simple patch protects inetd and cron from being killed under > >> high-pressure swapping systems: > >> http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff > >> > >> This patch has been contributed back from Sandvine Incorporated. > >> Comments, reviews and testing are welcome. > >> > > > > Good idea and the patch looks OK to me. > > Yes, the idea is good, but should we really trust inetd and crond that much ? > Are there other daemons that do this? > contrib/amd/amd/amd.c is the only C-file I can find in the tree. --- Gary Jennejohn