PERFORCE change 181457 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Jul 28 08:21:34 UTC 2010
http://p4web.freebsd.org/@@181457?ac=10
Change 181457 by trasz at trasz_victim on 2010/07/25 12:51:47
Disable newly added KASSERT for now. For some weird reason, sometimes
CPU time drops by 1usec.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_container.c#20 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_container.c#20 (text+ko) ====
@@ -383,9 +383,11 @@
KASSERT(amount >= 0, ("rusage_set: invalid amount for resource %d: %ju",
resource, amount));
diff = amount - p->p_container.c_resources[resource];
+#ifdef notyet
KASSERT(diff >= 0 || container_resource_reclaimable(resource),
("rusage_set: usage of non-reclaimable resource %d dropping",
resource));
+#endif
#ifdef HRL
if (diff > 0) {
error = hrl_enforce_proc(p, resource, diff);
More information about the p4-projects
mailing list