diff options
author | Olivier Certner <olce@FreeBSD.org> | 2025-09-08 17:37:35 +0000 |
---|---|---|
committer | Olivier Certner <olce@FreeBSD.org> | 2025-10-08 16:59:47 +0000 |
commit | 781802df7a2bfe224ef17596d56cf83c49517655 (patch) | |
tree | 5a918e4976f1797275fa3c1a5c325964df359e17 /tools/regression/kthread/(developers-only) | |
parent | d5d1e05efbedf67f1ef8e8428f9107401e369a0b (diff) |
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 'tools/regression/kthread/(developers-only)')
0 files changed, 0 insertions, 0 deletions