From owner-p4-projects@FreeBSD.ORG Mon Jul 31 09:24:21 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5947516A4F0; Mon, 31 Jul 2006 09:24:21 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E5EA16A4ED for ; Mon, 31 Jul 2006 09:24:21 +0000 (UTC) (envelope-from cdjones@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EF4343D49 for ; Mon, 31 Jul 2006 09:24:20 +0000 (GMT) (envelope-from cdjones@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6V9OKAl001080 for ; Mon, 31 Jul 2006 09:24:20 GMT (envelope-from cdjones@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6V9OJid001070 for perforce@freebsd.org; Mon, 31 Jul 2006 09:24:19 GMT (envelope-from cdjones@FreeBSD.org) Date: Mon, 31 Jul 2006 09:24:19 GMT Message-Id: <200607310924.k6V9OJid001070@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cdjones@FreeBSD.org using -f From: Chris Jones To: Perforce Change Reviews Cc: Subject: PERFORCE change 102839 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 09:24:21 -0000 http://perforce.freebsd.org/chv.cgi?CH=102839 Change 102839 by cdjones@cdjones-impulse on 2006/07/31 09:24:11 Now correctly identifies memory over-commit and tries to take action (leading to kernel panic, which is tomorrow's work). This actually was in changeset #102838, which was supposed to only be about usr.sbin/jail/jail.c. Alas, momentary incaution. Affected files ... .. //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#17 edit Differences ... ==== //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#17 (text+ko) ==== @@ -215,7 +215,7 @@ /* TODO --- make interval into a sysctl. */ printf("jpager_td sleeping\n"); - tsleep(pr, 0, "-", 5 * hz); + tsleep(pr, 0, "-", 3 * hz); } printf("Exiting jpager_td\n");