From owner-freebsd-arch@FreeBSD.ORG Mon Nov 16 15:02:11 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 E46A31065670 for ; Mon, 16 Nov 2009 15:02:11 +0000 (UTC) (envelope-from asmrookie@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 7EA068FC14 for ; Mon, 16 Nov 2009 15:02:11 +0000 (UTC) Received: by fxm27 with SMTP id 27so6096312fxm.3 for ; Mon, 16 Nov 2009 07:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YpeCDvz/iGRlmop+LyuFUVfu7OCikh58OIPnYJSktaw=; b=AcmG3tG3d3+QmyktZIKTnmqy35diT7f9GAZrP0RWG0n7+s3wWPv6nSvUAlfkKHEuyn tRn7MmSBfyVVgzd/r8OhX6StYIUflPDLOA+tbITUAoC0aKbkg6QfvWr8EOK4KNnohHhK TjO5gZ4RdEGawdLWwV4yVghkWAb30UbsscZ1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=cKn5R+O1eJCRM6tlPYj0BOjxbZiFlzhkuY5sh3+LNPW2MhyPTvWkfHuX9pWJD6Nv2S gE0+7czUVh9UoKi6ixdy3KSBL/Br5Z38s3uSDZet3aMKfgGmhYKOCSAWOXMRzCYR2skM IouptYPZfh3wjiUorRDKZY51mv+Swlt6PS0VE= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.4.137 with SMTP id 9mr1182408far.95.1258383728371; Mon, 16 Nov 2009 07:02:08 -0800 (PST) Date: Mon, 16 Nov 2009 16:02:08 +0100 X-Google-Sender-Auth: f75205e71f209e37 Message-ID: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> From: Attilio Rao To: FreeBSD Arch Content-Type: text/plain; charset=UTF-8 Cc: Subject: [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: Mon, 16 Nov 2009 15:02:12 -0000 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. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein