From owner-freebsd-arch@FreeBSD.ORG Tue Nov 17 21:35:46 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 8272D106566B; Tue, 17 Nov 2009 21:35:46 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id B6DDB8FC12; Tue, 17 Nov 2009 21:35:45 +0000 (UTC) Received: by fxm27 with SMTP id 27so504661fxm.3 for ; Tue, 17 Nov 2009 13:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=2C9gOnaDNtCJGRatxHq3JsreljRqz9mOndJqlCWRp/k=; b=tPyos08mO3i/be3ISz4g9TnbbZpPs9edHlexsZeVomtPyzXSyEM8ejP80rVKvKiiUB q5xbEIEOqXChPYs2VeR+xyNL33ihtfGdJ8XQjmQ4CzzxMV3e/otFG5vhC+B+iXCbmx/H li/J2pB0aUUabkUB1+72cIcoQQaEBWgzVRO1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=KsLHVLqA11XkXMKL/3DAMHj/7cKhUbwNEynmDs7kWpxbvSG0+A30xl7rdQGbH98+eC ag5gSGeslAdjpFlhjMsuKTiR//3thetIC0YKWq+3EkrljvjWXaEG7AMnZqmo5AilGCyx HAWQRmprWN3PFy/JX88j49+v0LoykSPjPC4w0= Received: by 10.223.22.81 with SMTP id m17mr2155089fab.28.1258493743156; Tue, 17 Nov 2009 13:35:43 -0800 (PST) Received: from mac-mini.lan (bl6-152-182.dsl.telepac.pt [82.155.152.182]) by mx.google.com with ESMTPS id 15sm184262bwz.8.2009.11.17.13.35.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 13:35:41 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <7i8we5xlbm.wl%gnn@neville-neil.com> Date: Tue, 17 Nov 2009 21:35:34 +0000 Content-Transfer-Encoding: 7bit Message-Id: <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> To: gnn@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Attilio Rao , 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 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 21:35:46 -0000 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? -- Rui Paulo