svn commit: r298050 - head/sys/kern
Edward Tomasz Napierala
trasz at FreeBSD.org
Fri Apr 15 13:35:01 UTC 2016
Author: trasz
Date: Fri Apr 15 13:34:59 2016
New Revision: 298050
URL: https://svnweb.freebsd.org/changeset/base/298050
Log:
Allocate RACCT/RCTL zones without UMA_ZONE_NOFREE; no idea why it was there
in the first place.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/kern_racct.c
head/sys/kern/kern_rctl.c
Modified: head/sys/kern/kern_racct.c
==============================================================================
--- head/sys/kern/kern_racct.c Fri Apr 15 12:55:40 2016 (r298049)
+++ head/sys/kern/kern_racct.c Fri Apr 15 13:34:59 2016 (r298050)
@@ -1314,7 +1314,7 @@ racct_init(void)
return;
racct_zone = uma_zcreate("racct", sizeof(struct racct),
- NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
+ NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
/*
* XXX: Move this somewhere.
*/
Modified: head/sys/kern/kern_rctl.c
==============================================================================
--- head/sys/kern/kern_rctl.c Fri Apr 15 12:55:40 2016 (r298049)
+++ head/sys/kern/kern_rctl.c Fri Apr 15 13:34:59 2016 (r298050)
@@ -2194,10 +2194,10 @@ rctl_init(void)
return;
rctl_rule_zone = uma_zcreate("rctl_rule", sizeof(struct rctl_rule),
- NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
+ NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
rctl_rule_link_zone = uma_zcreate("rctl_rule_link",
sizeof(struct rctl_rule_link), NULL, NULL, NULL, NULL,
- UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
+ UMA_ALIGN_PTR, 0);
/*
* Set default values, making sure not to overwrite the ones
More information about the svn-src-head
mailing list