mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
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
This commit is contained in:
parent
dfaa65fc8d
commit
23e6fff29d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298050
@ -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.
|
||||
*/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user