Date: Wed, 5 Jul 2006 04:54:07 GMT From: Chris Jones <cdjones@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 100602 for review Message-ID: <200607050454.k654s7jx060643@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100602 Change 100602 by cdjones@cdjones-impulse on 2006/07/05 04:53:17 Add structure members for handling memory limits. Affected files ... .. //depot/projects/soc2006/cdjones_jail/src/sys/sys/jail.h#9 edit Differences ... ==== //depot/projects/soc2006/cdjones_jail/src/sys/sys/jail.h#9 (text+ko) ==== @@ -93,7 +93,9 @@ struct mtx pr_mtx; unsigned int pr_priority; /* (p) jail priority */ struct proc *pr_scheduler; /* (c) scheduler pid */ - int pr_scheduler_flags; + int pr_scheduler_flags; /* (p) communication to scheduler */ + size_t pr_mem_limit; /* (p) memory allocation limit */ + size_t pr_mem_usage; /* (p) memory in use */ }; #endif /* _KERNEL || _WANT_PRISON */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607050454.k654s7jx060643>