From owner-freebsd-arch@FreeBSD.ORG Sat Mar 29 14:02:44 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B119237B401; Sat, 29 Mar 2003 14:02:44 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C431A43FAF; Sat, 29 Mar 2003 14:02:43 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.8/8.12.8) with ESMTP id h2TM2YSM010262; Sat, 29 Mar 2003 23:02:38 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Wes Peters From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 28 Mar 2003 09:10:32 PST." <200303280910.32307.wes@softweyr.com> Date: Sat, 29 Mar 2003 23:02:34 +0100 Message-ID: <10261.1048975354@critter.freebsd.dk> cc: David Schultz cc: freebsd-arch@FreeBSD.ORG Subject: Re: Patch to protect process from pageout killing X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 22:02:45 -0000 In message <200303280910.32307.wes@softweyr.com>, Wes Peters writes: >I've reworked my patch to use the madvise(2) syscall, like the original >4.x patch did. I've even documented it, in a man page of all places. >Please see attached patch. If nobody objects, I'll commit sometime this >weekend. I'm still not certain about the inheritance of this, do we want/is it inherited ? Also, thinking about it, on at least a handful of machines I would have more use for MADV_KILLMEFIRST having the exact opposite behaviour. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.