svn commit: r249312 - head/sys/vm
Gleb Smirnoff
glebius at FreeBSD.org
Tue Apr 9 17:25:16 UTC 2013
Author: glebius
Date: Tue Apr 9 17:25:15 2013
New Revision: 249312
URL: http://svnweb.freebsd.org/changeset/base/249312
Log:
Swap us_freecount and us_flags, achieving same structure size
as before previous commit.
Submitted by: alc
Modified:
head/sys/vm/uma_int.h
Modified: head/sys/vm/uma_int.h
==============================================================================
--- head/sys/vm/uma_int.h Tue Apr 9 16:16:34 2013 (r249311)
+++ head/sys/vm/uma_int.h Tue Apr 9 17:25:15 2013 (r249312)
@@ -245,9 +245,9 @@ struct uma_slab_head {
} us_type;
SLIST_ENTRY(uma_slab) us_hlink; /* Link for hash table */
u_int8_t *us_data; /* First item */
+ u_int16_t us_freecount; /* How many are free? */
u_int8_t us_flags; /* Page flags see uma.h */
- u_int16_t us_freecount; /* How many are free? */
- u_int8_t us_firstfree; /* First free item index */
+ u_int8_t us_firstfree; /* First free item index */
};
/* The standard slab structure */
More information about the svn-src-all
mailing list