Use one greater than the highest observe count. This may inflate the numbers but it will not have duplicates. If you create 4bn zones ordered to inflate the numbers you can deal with the sysctl warnings.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27922 Build 26091: arc lint + arc unit
Event Timeline
sys/vm/uma_core.c | ||
---|---|---|
1895–1899 | An alternative might be to make use of snprintf(NULL, 0, fmt, ...); to count. (Or, maybe we ought to provide int asprintf(char **p, struct malloc_type *, const char *fmt, ...).) |