svn commit: r353430 - head/sys/vm

Conrad Meyer cem at FreeBSD.org
Fri Oct 11 06:02:04 UTC 2019


Author: cem
Date: Fri Oct 11 06:02:03 2019
New Revision: 353430
URL: https://svnweb.freebsd.org/changeset/base/353430

Log:
  Fix braino in r353429
  
  cy@ points out that I got parameter order backwards between definition and
  invocation of the helper function.  He is totally correct.  The earlier
  version of this patch predated the XFree column so this is one I introduced,
  rather than the original author.
  
  Submitted by:	cy
  Reported by:	cy
  X-MFC-With:	r353429

Modified:
  head/sys/vm/uma_core.c

Modified: head/sys/vm/uma_core.c
==============================================================================
--- head/sys/vm/uma_core.c	Fri Oct 11 01:31:31 2019	(r353429)
+++ head/sys/vm/uma_core.c	Fri Oct 11 06:02:03 2019	(r353430)
@@ -4343,7 +4343,7 @@ uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *i
 #ifdef DDB
 static int64_t
 get_uma_stats(uma_keg_t kz, uma_zone_t z, uint64_t *allocs, uint64_t *used,
-    uint64_t *sleeps, uint64_t *xdomain, long *cachefree)
+    uint64_t *sleeps, long *cachefree, uint64_t *xdomain)
 {
 	uint64_t frees;
 	int i;


More information about the svn-src-all mailing list