From owner-p4-projects@FreeBSD.ORG Mon Aug 14 08:29:30 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 93DCE16A4E6; Mon, 14 Aug 2006 08:29:30 +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 6EEF616A4DE for ; Mon, 14 Aug 2006 08:29:30 +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 8A9E143D58 for ; Mon, 14 Aug 2006 08:29:29 +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 k7E8TTl0043699 for ; Mon, 14 Aug 2006 08:29:29 GMT (envelope-from cdjones@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7E8TTWv043696 for perforce@freebsd.org; Mon, 14 Aug 2006 08:29:29 GMT (envelope-from cdjones@FreeBSD.org) Date: Mon, 14 Aug 2006 08:29:29 GMT Message-Id: <200608140829.k7E8TTWv043696@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 103816 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, 14 Aug 2006 08:29:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=103816 Change 103816 by cdjones@cdjones-impulse on 2006/08/14 08:28:55 Rename priority struct member to sched_shares. Affected files ... .. //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#21 edit .. //depot/projects/soc2006/cdjones_jail/src/sys/sys/jail.h#16 edit Differences ... ==== //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#21 (text+ko) ==== @@ -274,7 +274,7 @@ goto e_dropvnref; pr->pr_ip = j.ip_number; pr->pr_linux = NULL; - pr->pr_priority = j.priority; + pr->pr_sched_shares = j.priority; pr->pr_securelevel = securelevel; pr->pr_mem_limit = j.mem_limit; ==== //depot/projects/soc2006/cdjones_jail/src/sys/sys/jail.h#16 (text+ko) ==== @@ -99,7 +99,7 @@ int pr_securelevel; /* (p) securelevel */ struct task pr_task; /* (d) destroy task */ struct mtx pr_mtx; - unsigned int pr_priority; /* (p) jail priority */ + u_int32_t pr_sched_shares; /* (p) jail priority */ struct proc *pr_scheduler; /* (c) scheduler pid */ int *pr_scheduler_flags_ptr; /* (p) communication to scheduler */ struct proc *pr_pager; /* (c) pager pid */