Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 08:21:27 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 181457 for review
Message-ID:  <201007280821.o6S8LRED009092@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@181457?ac=10

Change 181457 by trasz@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007280821.o6S8LRED009092>