This is a more significant refactoring than uma_zalloc_arg() because it was in worse shape. We only need the zone lock if we're going to cache a bucket. The crossdomain logic really needed to be simplified and merged with the other case. Fundamentally we're just freeing a bucket and allocating a bucket, no matter which bucket that is.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27787 Build 25973: arc lint + arc unit
Event Timeline
Comment Actions
The bucket_push and item_dtor refactors look reasonable. I'm not super familiar with this area of code.
sys/vm/uma_core.c | ||
---|---|---|
3317 | Missing parens. |