Date: Mon, 14 Aug 2006 08:29:29 GMT From: Chris Jones <cdjones@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 103816 for review Message-ID: <200608140829.k7E8TTWv043696@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608140829.k7E8TTWv043696>