Date: Thu, 27 Jul 2006 08:19:06 GMT From: Chris Jones <cdjones@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 102534 for review Message-ID: <200607270819.k6R8J6PR043608@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102534 Change 102534 by cdjones@cdjones-impulse on 2006/07/27 08:18:58 Fix silly errors in adding the pager process. Affected files ... .. //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#12 edit .. //depot/projects/soc2006/cdjones_jail/src/sys/sys/jail.h#12 edit Differences ... ==== //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#12 (text+ko) ==== @@ -149,6 +149,7 @@ struct jail j; struct jail_attach_args jaa; struct proc *j_sched_proc = NULL; + struct proc *j_pager_proc = NULL; int vfslocked, error, tryprid; error = copyin(uap->jail, &j, sizeof(j)); ==== //depot/projects/soc2006/cdjones_jail/src/sys/sys/jail.h#12 (text+ko) ==== @@ -46,6 +46,10 @@ #define J_SCHED_TD_DIE 0x02 #define J_SCHED_TD_DEAD 0x04 +#define J_PAGER_TD_ACTIVE 0x01 +#define J_PAGER_TD_DIE 0x02 +#define J_PAGER_TD_DEAD 0x04 + #ifndef _KERNEL int jail(struct jail *); @@ -98,6 +102,8 @@ unsigned int pr_priority; /* (p) jail priority */ struct proc *pr_scheduler; /* (c) scheduler pid */ int pr_scheduler_flags; /* (p) communication to scheduler */ + struct proc *pr_pager; /* (c) pager pid */ + int pr_pager_flags; /* (p) communication to pager */ size_t pr_mem_limit; /* (p) memory allocation limit */ size_t pr_mem_usage; /* (p) memory in use */ };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607270819.k6R8J6PR043608>