Date: Sun, 27 Mar 2011 11:55:59 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 190625 for review Message-ID: <201103271155.p2RBtxEc036586@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@190625?ac=10 Change 190625 by trasz@trasz_victim on 2011/03/27 11:55:35 Improve comments. Affected files ... .. //depot/projects/soc2009/trasz_limits/sys/sys/racct.h#2 edit .. //depot/projects/soc2009/trasz_limits/sys/sys/rctl.h#15 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/sys/sys/racct.h#2 (text+ko) ==== @@ -29,6 +29,10 @@ * $FreeBSD$ */ +/* + * Resource accounting. + */ + #ifndef _CONTAINER_H_ #define _CONTAINER_H_ @@ -41,9 +45,8 @@ struct ucred; /* - * Resource accounting. + * Resources. */ - #define RACCT_UNDEFINED -1 #define RACCT_CPU 0 #define RACCT_FSIZE 1 @@ -70,7 +73,7 @@ #define RACCT_MAX RACCT_WALLCLOCK /* - * Resource types. + * Resource properties. */ #define RACCT_IN_THOUSANDS 0x01 #define RACCT_RECLAIMABLE 0x02 ==== //depot/projects/soc2009/trasz_limits/sys/sys/rctl.h#15 (text+ko) ==== @@ -29,6 +29,10 @@ * $FreeBSD$ */ +/* + * Resource Limits. + */ + #ifndef _RCTL_H_ #define _RCTL_H_ @@ -44,10 +48,6 @@ struct ucred; struct rctl_rule_link; -/* - * Resource Limits. - */ - #ifdef _KERNEL /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103271155.p2RBtxEc036586>