aboutsummaryrefslogtreecommitdiff
path: root/doc/html/appdev/refs/macros/(public-mirror)
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2025-09-08 17:37:35 +0000
committerOlivier Certner <olce@FreeBSD.org>2025-10-08 16:59:47 +0000
commit781802df7a2bfe224ef17596d56cf83c49517655 (patch)
tree5a918e4976f1797275fa3c1a5c325964df359e17 /doc/html/appdev/refs/macros/(public-mirror)
parentd5d1e05efbedf67f1ef8e8428f9107401e369a0b (diff)
uma_core: Rely on domainset iterator to wait on M_WAITOKHEADmain
Commit 8b987a77691d ("Use per-domain keg locks.") removed the need to lock the keg entirely, replacing it with per-domain keg locks. In particular, it removed the need to hold a lock over waiting for a domain to grow free memory. Simplify the code of keg_fetch_slab() and uma_prealloc() by removing the M_WAITOK -> M_NOWAIT downgrade and the local call to vm_wait_doms() (which used to necessitate temporary dropping the keg lock) which the iterator machinery already handles on M_WAITOK (and compatibly with vm_domainset_iter_ignore() at that, although that does not matter now). Reviewed by: bnovkov, markj Tested by: bnovkov MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52441
Diffstat (limited to 'doc/html/appdev/refs/macros/(public-mirror)')
0 files changed, 0 insertions, 0 deletions