UMA_MD_SMALL_ALLOC was recently replaced by UMA_USE_DMAP, but da76d349b6b1 missed some improper uses of the old symbol.
This change makes sure that UMA_USE_DMAP is used properly in code that selects uma_small_alloc.
Details
Details
Tested on an amd64 VM.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
What about arc_available_memory() in sys/contrib/openzfs/module/os/freebsd/zfs/arc_os.c? Isn't that still broken?
Comment Actions
It was, thank you for pointing this out, my disk-grepping tools ignored this directory completely so this wasn't included in the original patch.
PR16230 fixes this.
Comment Actions
I suggest fixing this in FreeBSD as well in the interim, as the bug will cause ZFS to unnecessarily shrink the ARC.